Skip to content

R under Sun Solaris 8

4 messages · Klaus-Peter Pleissner, Brian Ripley, Jonathan Baron +1 more

#
Hi,

I have installed R1.6.2 on a Sun Sparc workstatioin 60 under Solaris 8.
I' m using csh, tcsh or bash- shell.
Unfortunately, it is impossible to use the "arrow-up" key  on  Sun's
German keyboard to repeat a R command by using this key.

Always following syntax error occurs:
^[[A

Does anybody have a hint ?

Thanks

Klaus-P. Pleissner

--
Dr. Klaus-Peter Pleissner
Max Planck Institute for Infection Biology
Campus Charit? Mitte
Schumannstr. 21/22
D-10117 Berlin
Germany


phone: +49-30-28460-119
fax:   +49-30-28460-507
email: pleissner at mpiib-berlin.mpg.de
#
On Thu, 10 Apr 2003, Klaus-Peter Pleissner wrote:

            
Do you have libreadline installed?
Was it found when you configured R?

I can't speak for your keyboard, but ESC[A is the `raw' sequence generated 
by the up-arrow key on an English Sun keyboard, and what you show is what 
happens if readline is not compiled into R.
#
On 04/10/03 17:30, Klaus-Peter Pleissner wrote:
A hint, yes.  You may not have the readline library installed.
This is discussed in the installation notes.

Whether this is the problem, I do not know.

Jon
#
Hi, I remember having the same problem when I tried to install a
personal version on our Sun Solaris 8 system. As readline was not in my
search paths the command line editing did not work. I do the following
before calling configure and make:

# Readline related stuff needed by [R] (readline is required for 
# the command line history in [R] to work).
# C.f. R-FAQ: "7.22 How can I get command line editing to work?"
# and "R Installation and Administration" on www.r-project.org
# Library path to 'libreadline.*'. Don't forget the prefix '-L'
LIBS=-L/usr/common2/appjoa/lib.sun4
export LIBS
# Source path to 'readline.h' etc. Don't forget the prefix '-I'
CPPFLAGS=-I/usr/common2/appjoa/include
export CPPFLAGS 

Maybe this is what you are missing

Henrik Bengtsson