Re: [R] Readline - wait for user input

2007-06-18 Thread Antje
Hello, I also have problems to get to run the following lines. If I run the block instead of every single line, it simply does not wait for the input. Can anybody help me? pos_name - readline(Please type: ) r - substr(pos_name, 1,1) c - substr(pos_name,

[R] Readline

2007-06-18 Thread Antje
Hello, I also have problems to get to run the following lines. If I run the block instead of every single line, it simply does not wait for the input. Can anybody help me? pos_name - readline(Please type: ) r - substr(pos_name, 1,1) c - substr(pos_name,

Re: [R] Readline

2007-06-18 Thread Jim Lemon
Antje wrote: Hello, I also have problems to get to run the following lines. If I run the block instead of every single line, it simply does not wait for the input. Can anybody help me? pos_name - readline(Please type: ) r - substr(pos_name, 1,1) c -

[R] Readline - wait for user input

2007-05-23 Thread Forest Floor
Hi, I've seen various posts on this question, but still can't get the code right. If I run the following code one line at a time, it works fine. If I run it together as a block, however, it doesn't wait for the input and gives an error. There must be a way to have are pause/wait for an

Re: [R] Readline - wait for user input

2007-05-23 Thread Peter Dalgaard
Forest Floor wrote: Hi, I've seen various posts on this question, but still can't get the code right. If I run the following code one line at a time, it works fine. If I run it together as a block, however, it doesn't wait for the input and gives an error. There must be a way to

Re: [R] readline detection problems

2006-02-05 Thread Patricia J. Hawkins
BO == Benjamin Otto [EMAIL PROTECTED] writes: BO Dear community, BO I'm trying to install R-2.2.1 on an IRIX 6.2 (Unix System V Release 4) BO system without root access. Unfortunately readline is not installed in BO default, so I installed it locally in my home directory, more precisely in: BO

Re: [R] readline detection problems

2006-02-05 Thread Alexandre Santos Aguiar
without root access. Benjamin, In a normal Unix environment non root users can't install software. This is one of the reasons why Unix systems are more secure. When you compile readline by ./configure; make; make install some system files must be created: headers must be installed to

[R] readline detection problems

2006-02-02 Thread Benjamin Otto
Dear community, I'm trying to install R-2.2.1 on an IRIX 6.2 (Unix System V Release 4) system without root access. Unfortunately readline is not installed in default, so I installed it locally in my home directory, more precisely in: $HOME/vol/readline-5.1, where $HOME is /home3/fa/faga001.

Re: [R] readline() and Rterm in Windows

2005-11-03 Thread Mikkel Grum
I've tried your proposal in a number of ways, and there must be something I'm not understanding. If I run your script (using source() in RGui, or ctrl-R from the R Editor, I get: conout - file('CONOUT$','w') Error in file(CONOUT$, w) : unable to open connection In addition: Warning message:

Re: [R] readline() and Rterm in Windows

2005-11-03 Thread Duncan Murdoch
Mikkel Grum wrote: I've tried your proposal in a number of ways, and there must be something I'm not understanding. If I run your script (using source() in RGui, or ctrl-R from the R Editor, I get: It requires a command line console, i.e. it will only work in Rterm, not Rgui. I was assuming

Re: [R] readline() and Rterm in Windows

2005-11-03 Thread Mikkel Grum
And that was the only combination I didn't try, duhh. As you say, it works. Excellent! TX! They'll be a number of pleased usres too. --- Duncan Murdoch [EMAIL PROTECTED] wrote: Mikkel Grum wrote: I've tried your proposal in a number of ways, and there must be something I'm not

[R] readline() and Rterm in Windows

2005-11-02 Thread Mikkel Grum
I'm running an R script in Rterm and would like the user to be prompted for input as in: id - readline(Please enter ID: ) myfunction(id) . . . etc. This works when I run one line at a time in RGui, but not when I try to run the script in Rterm (I'm working with R 2.2.0 in Windows Server 2003).

Re: [R] readline() and Rterm in Windows

2005-11-02 Thread Duncan Murdoch
Mikkel Grum wrote: I'm running an R script in Rterm and would like the user to be prompted for input as in: id - readline(Please enter ID: ) myfunction(id) . . . etc. This works when I run one line at a time in RGui, but not when I try to run the script in Rterm (I'm working with R

Re: [R] readline() and Rterm in Windows

2005-11-02 Thread Prof Brian Ripley
What does `not work' mean here? In particular, what does `running an R script in' mean? It works as I would expect: if foo.R contains id - readline(Please enter ID: ) then source(foo.R) Please enter ID: 5 id [1] 5 Please do read the posting guide and explain what you are doing it

Re: [R] readline() and Rterm in Windows

2005-11-02 Thread Mikkel Grum
Duncan and Prof, thanks for your comments and apologies for not being more specific. I'm not getting the same results you get from the steps you propose. If I write a script foo.R with two lines id - readline(Please enter an ID: ) id and then use source(foo.R) (either at the

Re: [R] readline() and Rterm in Windows

2005-11-02 Thread Duncan Murdoch
Mikkel Grum wrote: Duncan and Prof, thanks for your comments and apologies for not being more specific. I'm not getting the same results you get from the steps you propose. If I write a script foo.R with two lines id - readline(Please enter an ID: ) id and then use

[R] readline, 64bit solaris build

2004-08-02 Thread roger koenker
I've built a 64bit version of R 1.9.1 on a solaris 2.9 sparc system. Everything seems quite functional, except that readline produces the following: configure:21277: checking for rl_callback_read_char in -lreadline configure:21307: cc -xarch=v9 -o conftest -xO5 -xlibmil -dalign

Re: [R] readline, 64bit solaris build

2004-08-02 Thread Prof Brian Ripley
On Mon, 2 Aug 2004, roger koenker wrote: I've built a 64bit version of R 1.9.1 on a solaris 2.9 sparc system. Everything seems quite functional, except that readline produces the following: configure:21277: checking for rl_callback_read_char in -lreadline configure:21307: cc -xarch=v9

Re: [R] readline, 64bit solaris build

2004-08-02 Thread roger koenker
Many, many thanks, ./configure is now happy, and make is chugging along url:www.econ.uiuc.edu/~rogerRoger Koenker email [EMAIL PROTECTED] Department of Economics vox:217-333-4558University of Illinois fax:

[R] readline or not .. {was Parallel Functions on AIX}

2004-07-29 Thread Martin Maechler
AndyL == Liaw, Andy [EMAIL PROTECTED] on Thu, 29 Jul 2004 00:02:26 -0400 writes: From: Brian Ripley The first thing to ascertain is that R will actually build on such a machine -- there have been a lot of reports of failure on AIX, and no recent reports of

[R] Readline on R-1.9.1a

2004-06-14 Thread Kevin Bartz
Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts, I've installed readline and readline-devel: [EMAIL PROTECTED]:~/R-1.9.1 rpm -qa | grep readline readline-devel-32bit-9.0-0 readline-32bit-9.0-0 readline-4.3-207 readline-devel-4.3-207 Then

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Roger D. Peng
If you've got the required rpm's installed (and they install in the usual locations), you should not need the --with-readline flag. Try running configure with out it. -roger Kevin Bartz wrote: Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts,

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Peter Dalgaard
Kevin Bartz [EMAIL PROTECTED] writes: Hello! I'm trying to install R-1.9.1a with readline on Suse Linux. As recommended in other posts, I've installed readline and readline-devel: ... [EMAIL PROTECTED]:~/R-1.9.1 rpm -qa | grep readline readline-devel-32bit-9.0-0 readline-32bit-9.0-0

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Liaw, Andy
Given this is turning out to be an FAQ, wouldn't it make sense to have these rpm's as depends for the R rpm? (I always compile from source, so don't know what the R rpm actually depends on.) Best, Andy From: Peter Dalgaard Kevin Bartz [EMAIL PROTECTED] writes: Hello! I'm trying to

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Roger D. Peng
People who compile from source still need to install the necessary rpms. -roger Liaw, Andy wrote: Given this is turning out to be an FAQ, wouldn't it make sense to have these rpm's as depends for the R rpm? (I always compile from source, so don't know what the R rpm actually depends on.) Best,

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Dirk Eddelbuettel
On Mon, Jun 14, 2004 at 04:01:02PM -0400, Roger D. Peng wrote: People who compile from source still need to install the necessary rpms. Which is why another Linux distribution uses the concept of Build-Depends :) This can be complicated if you strive to include just about everything that there

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Liaw, Andy
From: Roger D. Peng People who compile from source still need to install the necessary rpms. Sure, but apparently one can install the R rpm without those, and that's the real problem. Andy -roger Liaw, Andy wrote: Given this is turning out to be an FAQ, wouldn't it make sense

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread A.J. Rossini
Dirk Eddelbuettel [EMAIL PROTECTED] writes: On Mon, Jun 14, 2004 at 04:01:02PM -0400, Roger D. Peng wrote: People who compile from source still need to install the necessary rpms. Which is why another Linux distribution uses the concept of Build-Depends :) Which is another reason why I use

Re: [R] Readline on R-1.9.1a

2004-06-14 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: From: Roger D. Peng People who compile from source still need to install the necessary rpms. Sure, but apparently one can install the R rpm without those, and that's the real problem. (Wasn't Kevin's though. But there's really no way of helping

RE: [R] Readline on R-1.9.1a

2004-06-14 Thread Kevin Bartz
To: Liaw, Andy Cc: 'Roger D. Peng'; 'Peter Dalgaard'; Kevin Bartz; [EMAIL PROTECTED] Subject: Re: [R] Readline on R-1.9.1a Liaw, Andy [EMAIL PROTECTED] writes: From: Roger D. Peng People who compile from source still need to install the necessary rpms. Sure, but apparently one can

[R] readline

2004-05-25 Thread Stoyan Iliev
problem: readline does not work background: readline installed OK. R found it and listed as available library. when I start R none of the readline command editing is available, just raw sh editing. system: Solaris 9 on Sparc any help is appreciated. thanks stoyan

Re: [R] readline

2004-05-25 Thread Paulo Justiniano Ribeiro Jr
have you installed readline-dev ? In my Debian Linux I need libreadlin4-dev Cheers P.J. On Tue, 25 May 2004, Stoyan Iliev wrote: problem: readline does not work background: readline installed OK. R found it and listed as available library. when I start R none of the readline command

[R] readline problem under src-compiled R 1.8.x under Mandrake 9.2

2003-11-23 Thread ivo welch
R compiles very easily under Mandrake 9.2, with one exception: readline seems not to work. for some odd reason, in the configure script, rl_callback_read_char is set to no, so the R configure script does not use readline (I think this means it refuses to link readline into the executable,

Re: [R] readline problem under src-compiled R 1.8.x under Mandrake 9.2

2003-11-23 Thread Marc Schwartz
On Sun, 2003-11-23 at 10:04, ivo welch wrote: R compiles very easily under Mandrake 9.2, with one exception: readline seems not to work. for some odd reason, in the configure script, rl_callback_read_char is set to no, so the R configure script does not use readline (I think this means

Re: [R] readline problem under src-compiled R 1.8.x under Mandrake 9.2

2003-11-23 Thread ivo welch
thanks, marc+brian. it was indeed not installed. i was under the mistaken impression that readline was just a linkto library. the compile now works great. suggestion: if libreadline is installed and libreadline-devel is not installed, please print a warning/suggestion message during the

Re: [R] readline problem under src-compiled R 1.8.x under Mandrake 9.2

2003-11-23 Thread Marc Schwartz
On Sun, 2003-11-23 at 10:48, ivo welch wrote: thanks, marc+brian. it was indeed not installed. i was under the mistaken impression that readline was just a linkto library. the compile now works great. suggestion: if libreadline is installed and libreadline-devel is not installed,

[R] readline not found

2003-11-18 Thread Laurent Faisnel
Hi all, I just upgraded to R-1.8.0. Everything worked fine but command line editing does not work. This clearly indicates that readline has not been found in the compilation process. How could I explicitely indicate where to find it ? I use a Red Hat 8.0 system. I checked the FAQ which says

Re: [R] readline not found

2003-11-18 Thread Peter Dalgaard
Laurent Faisnel [EMAIL PROTECTED] writes: Hi all, I just upgraded to R-1.8.0. Everything worked fine but command line editing does not work. This clearly indicates that readline has not been found in the compilation process. How could I explicitely indicate where to find it ? I use a

Re: [R] readline not found

2003-11-18 Thread Laurent Faisnel
The problem is solved. I cc this mail to John who probably had the same kind of problem. Peter Dalgaard wrote: Laurent Faisnel [EMAIL PROTECTED] writes: That's the part of the log where you have the debug information (at the top) : configure:11773: gcc -o conftest -g -O2 -L/usr/local/lib

[R] readline and R

2003-07-08 Thread Jean Eid
version of readline (version 4.3) with no luck. as I do not have root access to the system I have included the readline directory in my home path. I beleive that I have to change the path of the readline library from usr/local/lib to my own which is on /local/R/readline, however I do not want

Re: [R] readline and R installation

2003-07-08 Thread Martin Maechler
One way is setting the (or adding to an existing one) environment variable LD_LIBRARY_PATH to your directory (.../local/R/readline); there are other related ways described in the R Administration/Installation manual which I'd warmly recommend consulting here. If that is really /local/R/... I

Re: [R] readline and R installation

2003-07-08 Thread Jean Eid
-I/usr/local/R/readline -I/local/R/readline conftest.c 5 configure:12379:31: readline/readline.h: No such file or directory configure:12312: $? = 1 and my config.site file contains the following LDFLAGS=-L/usr/local/lib -L/usr/local/R/readline LIBS=-L/usr/local/lib -L/local/R/readline