Hi, I just compiled R on solaris. Everything seems to run fine. Except, the up and down arrows don't take me through the history. See: ======================================================~/R-2.0.1/bin: R R : Copyright 2004, The R Foundation for Statistical Computing Version 2.0.1 (2004-11-15), ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for a HTML browser interface to help. Type 'q()' to quit R.> x=c(2,3,4) > ^[[AError: syntax error> ^[[BError: syntax error>====================================================== The ^[[A is my up arrow keypress and the ^[[B is my down arrow keypress. How can I get these arrows to take me through history?
On Fri, Jan 07, 2005 at 11:56:46PM -0500, a j wrote:> I just compiled R on solaris. > > Everything seems to run fine. > > Except, the up and down arrows don't take me > through the history. See:[...]> How can I get these arrows to take me through history?It's a FAQ -- you need readline support. Check your build logs, you should see something like this (which is from the Debian builds I maintain / coordinate, you'd obviously get something other than i386, though): R is now configured for i386-pc-linux-gnu Source directory: . Installation directory: /usr C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 Fortran compiler: g77 -g -O2 Interfaces supported: X11, gnome, tcltk External libraries: readline, BLAS(generic) Additional capabilities: PNG, JPEG Options enabled: shared library, R profiling Recommended packages: no Note the 'readline' after external libraries. You need it for the "up-arrow". Dirk -- If you don't go with R now, you will someday. -- David Kane on r-sig-finance, 30 Nov 2004