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,
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,
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 -
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
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
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
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
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.
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:
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
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
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).
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
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
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
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
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
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
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:
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
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
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,
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
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
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,
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
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
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
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
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
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
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 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,
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
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
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,
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
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
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
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
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
-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
42 matches
Mail list logo