Skip to content

Interactive Input Problem

4 messages · Sebastian Huber, Martin Wegmann, Brian Ripley

#
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:
character(0)
These ugly characters are produced by the arrow keys. Does anyone know how to 
fix that problem?

Ciao
	Sebastian
#
Hi Sebastian,

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.

cheers Martin
Sebastian Huber wrote:

            
--
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
#
On Wed, 30 Apr 2003, Martin Wegmann wrote:

            
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.

  
    
#
Hello,
thanks for the kind help.
On Wednesday 30 April 2003 15:07, you wrote:
I looked only into the FAQs, but without success.
It is R-1.7.0.tar.gz in combination with R-base-1.7.0.spec, works really good.
I guess that's it:

checking for pwd.h... yes
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for strings.h... (cached) yes

I wasn't aware that readline-devel exists.

Thanks
	Sebastian