[R] Command History

Thomas Lumley thomas at biostat.washington.edu
Tue Dec 14 00:59:00 CET 1999


On Tue, 14 Dec 1999, Philip L. Smith wrote:

> Venables and Ripley's supplementary notes state that
> Unix R provides a command history mechanism in which
> previous commands can be recalled using the up and down
> arrows.  My version of R (Digital Unix 4.0) doesn't
> appear to support this.  Is this an installation issue
> and is there a workaround?

This requires the GNU readline library, which is detected at compile time
by configure.  You presumably either don't have GNU readline or have it
somewhere that configure doesn't look. One possibility is
/usr/local/{bin,include}, which isn't searched on some machines.

If you have readline but it isn't being found you will need to edit
config.site in the main R source directory to make sure that 
CPPFLAGS includes the directory containing the readline header files and
LIBS contains the directory containing the library itself.

If you don't have readline get it from ftp.gnu.org


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle





-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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