[R] Command line editing.

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Sep 5 21:28:46 CEST 2001


On Wed, 5 Sep 2001, Rolf Turner wrote:

>
> I've looked through the FAQ and can't find anything about
> this.
>
> I'm working on a Sun machine, running Solaris 2.7.
>
> I'm a new R-user; have been using Splus for millenia, and finally
> decided it was time I got going with R.  So I downloaded R, installed
> it, fiddled about a bit, and found that command-line editing was
> absent.
>
> Scrounging through the documentation some more, I saw it to indicate
> that if GNU readline is installed on the system, then R ***does***
> provide command-line editing.  So I got readline and installed it ---
> there seemed to be no problems with that.
>
> Then I (re) issued the ./configure, make, and make install commands
> for R.
>
> Then I fired up R, typed a few commands, and tried typing <ctrl>-p,
> which according to ``An Introduction to R'' by Venables and Smith
> et al., should take me to the previous command.  Instead, I simply
> got ``^P'' appearing on the screen.  What am I missing?

does up-arrow work?  It's easier ....
If not, you need to delete config.cache and re-configure, I expect.

For me command-line editing in R on Solaris 2.7 aka 7 works as it does in
tcsh (and finally in S-PLUS 6.0 ...).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list