Displaying 20 results from an estimated 20000 matches similar to: "repeat { readline() }"
2005 Nov 02
2
readline() and Rterm in Windows
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).
Is there any way to do this?
Mikkel
2011 Dec 29
1
Crashing R with readline()
I get the following with R v2.14.1 patched on Windows 7:
% Rterm --vanilla --silent
> sessionInfo()
R version 2.14.1 Patched (2011-12-26 r58001)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base
2005 Dec 21
2
CRAN and R v2.2.1 for Windows
Thanks for the new updates in v2.2.1.
I just noticed a few "problems" on
http://cran.r-project.org/bin/windows/base/.
1) The CHANGES and NEWS files for v2.2.1 does not include info on v2.2.1
but only details up until v2.2.0, cf.
http://cran.r-project.org/src/base/NEWS
2) The patched version is now denoted "beta" (files and installation
directory), which I believe is
2001 Jun 09
2
r-mode (ESS/XEmacs)
Hello,
please excuse me if this is not the appropriate
mailing list, but I'll give it a try!
I recently switched from using Emacs 20.7.1 to
XEmacs 21.4, both on cygwin / MS W2K.
On Emacs the ESS 5.1.17 was working well, but
now, when calling R from within XEmacs,
it first asks for the working directory,
then says "R process is not running".
The ESS buffer holds the
2007 Jan 29
1
Problem with "readline" in compilatio of R for Solaris 11 (Nevada) in x86
Dear friends,
In configuring R 2.4.1 for Solaris 11, using SunStudio 11 compilers, I
get the following error.
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for rl_callback_read_char
2006 Feb 02
3
readline detection problems
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". Afterwards I
appended the path to the library with several $PATH variable, which now
looks
2006 Feb 02
3
readline detection problems
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". Afterwards I
appended the path to the library with several $PATH variable, which now
looks
2002 Sep 04
1
readline doesn't work even thou cled=TRUE
Can anyone offer suggestion about getting readline to work on Solaris?
(v1.5.1)
When I use the up arrow or ctrl-p to try to repeat the last command
my session just beeps.
It appears that the .Rhistory file that should appear in my startup
directory
is not being created.
Thanks!
The screen shot below shows cled=TRUE and no .Rhistory file created:
$ /apps/R-1.5.1/bin/R
R : Copyright 2002, The
2002 Mar 24
2
readline?
We've recently "upgraded" a server to solaris 8, and in reinstalling R
I've encountered a problem in getting it to recognize the readline library.
I have installed readline in what I believe to be the "usual" place:
/usr/local/lib with include files in /usr/local/include/readline.
But ./configure produces:
ragnar.econ.uiuc.edu# grep readline hout
checking for
2004 Jun 14
4
Readline on R-1.9.1a
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:
kevin@redtail:~/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 I run configure with readline:
./configure --with-readline
The relevant lines are:
2006 Jul 09
1
Tiger OS X darwin ports problem with readline
Hi,
I just edited this page:
http://wiki.rubyonrails.org/rails/pages/DarwinPorts
I thought I''d post something to this mail-list in hopes of an answer..
I''m running Tiger.
On my Mac, I cannot get past installation of readline:
mac:~ mac$ sudo port install readline
Password:
---> Fetching readline
---> Attempting to fetch readline51-001 from
2003 Nov 18
2
readline not found
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 readline-devel
is also needed, but I have it already installed. Perhaps should I add
the configure
2011 Dec 30
1
configure can't find readline -- but it's there!
Am trying to install 2.14.0 on a CentOS system. The configure script
apparently can't find something to do with the readline library:
Configure: error: --with-readline=yes (default) and headers/libs are not
available
Yes, I know I need readline 4.2 or later. "yum" assures me that rev 5.1
is already installed.
And I know I need to provide configuration flags if it is in
2002 Nov 19
1
Nesting of readline input (PR#2310)
Hi everyone,
I am following instructions here as I have generated the following warning:
> # stuff looping through some plots with ask=TRUE
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Hit <Return> to see next plot:
In addition: Warning message:
An unusual circumstance has arisen
2003 Aug 19
2
R-1.7.1 gets installed without default packages & without readline
Hi all,
Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems.
R gets installed without default packages (but base and ctest) : make
script fails at the end of the procedure (configure is made
successfully). This is the (translated) log I have :
/gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES
-mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o
gcc: cannot
2010 May 30
1
Location of source code for readline()
A few days ago on R-help I asked about a cross-platform timeout version of readline().
Some suggestions, but only partial joy so far. I can get the Gnu bash 'read -t ...' to
work in Windows by using the 'bash -c ' construct, but then R's system() function does not
seem to allow this to pass through. Similarly a Perl and Free Pascal routine that I tried,
the latter being a
2003 Jul 08
1
readline and R
Dear R users,
I am trying to install R 1.7.1 on a sparc-sun-solaris2.8 system. although
gnu readline is installed and works fine on the parent directory, R is not
recognizing it.
I get the following in the config.log file.
configure:11627: checking for rl_callback_read_char in -lreadline
configure:11658: gcc -o conftest -g -O2 -L/usr/local/lib
conftest.c -lreadline -ldl -ltermcap -lm
2003 Nov 23
1
readline problem under src-compiled R 1.8.x under Mandrake 9.2
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,
but I am not sure.) Now, MD 9.2 uses libreadline 4-4.3-7mdk (yes, it is
installed), rather than
2002 Jun 11
1
[Bug 200] readline support for sftp
http://bugzilla.mindrot.org/show_bug.cgi?id=200
------- Additional Comments From dtucker at zip.com.au 2002-06-12 00:21 -------
I tried it on NetBSD/sparc 1.5.2. The first problem was obvious:
gcc [flags] -c sftp-int.c
sftp-int.c:32: readline/readline.h: No such file or directory
sftp-int.c:33: readline/history.h: No such file or directory
*** Error code 1
readline.h and history.h are in
2006 Nov 06
1
configure error: --with-readline
I am trying to install R2.4 in a non-standard folder on a mandrake 10 system.
I did this:
./configure --prefix=/the/dir/where/I/want/r/to/go
and I got the following error:
configure: error: --with-readline=yes (default) and headers/libs are not available
I know that I can do
--with-readline=no
But, I do want this readline feature. I have a whole bunch of readline libraries: