R-beta: command line editing?

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Apr 13 17:08:46 CEST 1998


Bill Simpson <wsimpson at uwinnipeg.ca> writes:

> 
> Thanks Mike for your quick reply.
> 
> Well I am running Linux (Slackware) here which has bash as the default
> shell, so if bash uses readline library, it must be there somewhere.  But
> R doesn't find it it the installation process.
> 
> (Right now up arrow gives
>  ^[[A
> )
> 
> Thanks for any help in getting this to work!
> 
> Bill Simpson
> 

Weeelll... 
1) make sure the readline stuff can be found among the system
libraries
2) reconfigure and recompile R

;)

Seriously, RedHat - and I think Debian too - has stuff like

/usr/include/readline
/usr/include/readline/chardefs.h
/usr/include/readline/history.h
/usr/include/readline/keymaps.h
/usr/include/readline/readline.h
/usr/include/readline/tilde.h

/usr/lib/libreadline.a
/usr/lib/libreadline.so
/usr/lib/libreadline.so.2
/usr/lib/libreadline.so.2.0
/usr/lib/libreadline.so.3
/usr/lib/libreadline.so.3.0

'cept that Debian insists on calling the dynamic libs 2.1 instead of
3.0. You want the newer version - 2.0 has trouble with signal handling
and the upcoming 0.62 will use some facilities that simply don't exist
in 2.0 anyway. If you know how to handle .rpm files, there should be a
binary package in the RedHat (ftp.redhat.com or mirrors) contrib
section. Make sure you get one that works with your libc...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

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