[R] Command-line history not working...

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Sep 15 21:12:05 CEST 2001


Henrik Bengtsson <hb at maths.lth.se> writes:

> I am trying to build [R] v1.3.1 *locally* on a Sun Solaris 8 machine.
> One problem I am currently struggeling with is to make the command-line
> history function to work. I have installed GNU readline version 4.2
> (latest version). Looking at the "config.log" file it seems that all
> readline related checks, e.g. "readline/history.h", passes (they did not
> before installing GNU readline).
> 
> In [R] almost all GNU readline command-line editing functions work, but I
> can't get the history functions (Ctrl+P, Ctrl+N or arrow up and down) to
> work. I am missing something, but what? Could you please refer me to a
> solution.
> 
> Thanks
> 
> Henrik Bengtsson

Also this one?

checking for rl_callback_read_char in -lreadline..

Two suggestions. One is that you forgot to remove config.cache so that
the test lingers on from before you installed readline. The
other is more insidious, and bit me on Solaris 7 recently using
tools from www.sunfreeware.com: Apparently the shared readline libs
that they ship is incompatible with gcc-3.0.1 so that the test fails
even though readline actually does have rl_callback_read_char. I had
to remove the shared version of the library to make it take.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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