R-beta: command-line editing not working in Debian Linux version

Jameson Burt (jameson@mnsinc.com)
Sat, 17 Jan 1998 16:06:50 -0500

Message-Id: <m0xtfS7-0003JEC@rabbit.dynamic-ppp-has-no-domain>
From: Jameson Burt <jameson@mnsinc.com>
To: r-help@stat.math.ethz.ch
Subject: R-beta: command-line editing not working in Debian Linux version
Date: Sat, 17 Jan 1998 16:06:50 -0500

I get great flexibility with command-line editing through the "readline" 
library in the "bash" editor and the "ncftp" tool.  S-Plus has this editing 
and I see in the preliminary "Notes on R: A Programming Environment for Data 
Analysis and Graphics", page 65, that "R -e" might give this functionality.  
Typically, one can use either vi or emacs commands to go back through previous 
commands and edit the current command line.

I notice that the readline library is not compiled into the Debian Linux 
R.binary (ldd R.binary).  Perhaps this was an oversight, or perhaps 
command-line editing has yet to be added.

I notice that for vi editing style one ought to set (in "bash" shell)
     export S_CLEDITOR=vi
however, hopefully, the readline [not the S/R readline() function, but the 
readline library] file ~/.inputrc parameters would work to set "vi" mode and 
other readline parameters (if the readline library gives this command line 
functionality in R, that is).

Jim Burt, NJ9L,		Fairfax, Virginia, USA
jameson@mnsinc.com	http://www.mnsinc.com/jameson

"It is not the shortcomings of others, nor what others have done or not
 done that one should think about, but what one has done or not done oneself."
--Dhammapada   ["dp" command for quotes from the Dhammapada, in Linux]

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@stat.math.ethz.ch