[R] Arrow keys don't work in R

Agustin Lobo alobo at ija.csic.es
Thu Jan 24 17:40:41 CET 2002


Problem solved, thanks to the many
who offered their help: readline was installed
but readline-devel was not.

(config.log was not that useful as the following 3 lines
configure:8610: checking for rl_callback_read_char in -lreadline
configure:10229: checking for readline/history.h
configure:10229: checking for readline/readline.h

state the checking but not the actual result.
I wonder if there is not an easy way to make sure that
all elements needed by make are present, this would
also help me with my problem with gnome).

Agus

On Thu, 24 Jan 2002, Liaw, Andy wrote:

> The readline-dev package need to be installed.  As Peter pointed out
> earlier, check the config.log to see why readline is not found.
> 
> Andy
> 
> > -----Original Message-----
> > From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
> > Sent: Thursday, January 24, 2002 7:51 AM
> > To: Agustin Lobo
> > Cc: r-help
> > Subject: Re: [R] Arrow keys don't work in R
> > 
> > 
> > 
> > 
> > Agustin Lobo wrote:
> > > 
> > > Hi,
> > > 
> > > Besides the problem with gnome, I have now
> > > a compiled version of R-1.4.0 that has the
> > > same functionality than what I had from
> > > an rpm installation, except that the arrow
> > > keys (so useful to recover history and
> > > edit lines) write garbage like:
> > > 
> > > ^[[A^[[A^[[A^[[A
> > > 
> > > The keys work fine in both kde and xterm
> > > windows outside R. I suspect this might be something to
> > > specify in one of the Renviron files,
> > > but don't have the ones created by the
> > > rpm to compare.
> > > 
> > > By the way, the installation did not create
> > > any Renviron.site file, is this a problem?
> > 
> > 
> > It's not the Renviron.site file (you can create it manually, 
> > if you need
> > it). 
> > Looks like the readline library is not installed or was not linked
> > during the installation process.
> > 
> > Uwe Ligges
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> > -.-.-.-.-.-.-.-.-
> > 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._
> 
> 

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