[R] Interactive Input Problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 30 15:07:30 CEST 2003


On Wed, 30 Apr 2003, Martin Wegmann wrote:

> that looks more like a problem with your shell. which one are you using? perhaps
> it it solved by using another one e.g. bash.  otherwise you can find at the end
> of the *.pdf "R-intro" http://cran.r-project.org/doc/manuals/R-intro.pdf  a
> chapter called: the command line editor perhaps that helps.

Sorry, no, no shell is involved.  This is what happens in Unix R if the 
readline library is not compiled in/activated (you can start R with
--no-readline).

Since you said you built `R-base-1.7.0' (not sure what that is: an SRPM?)
my guess is that you don't have the readline development tools on your
system.  Take a look at the configure output, and see what it said about
readline. You may need to install libreadline-devel or something like
that.

> Sebastian Huber wrote:
> 
> > Hi,
> > I built and installed R-base-1.7.0 on SuSE 8.2 without any problems, but the
> > interactive R interpreter, has problems with cursor movement:
> >
> > > ls()
> > character(0)
> > > ^[[A^[[B^[[D^[[C^[[A^[[D^[[C^[[B^[[D^[[A
> >
> > These ugly characters are produced by the arrow keys. Does anyone know how to
> > fix that problem?
> >
> > Ciao
> >         Sebastian
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 
> --
> Martin Wegmann
> Department of Animal Ecology and Tropical Biology
> Zoology III, Biocenter
> Am Hubland
> 97074 Würzburg
> Germany
> 0931/888-4378
> wegmann at biozentrum.uni-wuerzburg.de
> m.wegmann at web.de
> 
> 

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