[R] keyboard issue in R console
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri May 4 17:57:45 CEST 2007
We can also say that in recent versions of R you have to choose
deliberately to disable readline when building R. (This is made quite
hard: I am currently building R on a brand new Solaris 10 system, and I
had to work to get the right 64-bit libreadline linked in. Just having
libreadline[-devel] missing is not enough.)
I think Hao Liu needs to explain how he managed to do this, by giving the
basic information asked for in the posting guide, e.g.
- version of R
- what is 'linux' here
- how R was installed (from sources, RPM, .deb ....)
On Fri, 4 May 2007, Marc Schwartz wrote:
> On Fri, 2007-05-04 at 10:48 -0400, Hao Liu wrote:
>> hi! All:
>>
>> I can do up or down arrow on keyboard to browse through command history
>> on R console in windows. However, I can't do that on a linux xterm or
>> console... I wonder how to make this feature work on linux... it will
>> make working a lot more efficient...
>>
>> Thanks
>> Hao
>
> You are most likely missing the readline library and/or the readline
> 'devel' files, depending upon how you installed R.
>
> See R FAQ 7.20 How can I get command line editing to work?
>
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-get-command-line-editing-to-work_003f
>
>
> Additional information is available in the R Installation/Administration
> Manual with your system or in HTML here:
>
> http://cran.us.r-project.org/doc/manuals/R-admin.html
>
> HTH,
>
> Marc Schwartz
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list