[R] command line edit
Don MacQueen
macq at llnl.gov
Fri May 24 23:09:58 CEST 2002
Briefly, you have to re-build R with readline support.
I don't have the exact details at my fingertips, but I downloaded the
readline libraries from the web, put them somewhere, and then named
the location in R's config.site file. Or you can put them somewhere
in the OS's standard search path for libraries. Either way, if R
finds them during configure, it will compile R with support for
editing the command line.
For me,
R[23]% ls local/lib/libread*
local/lib/libreadline.a local/lib/libreadline.so.4
I believe that the file I downloaded from the web was named
readline-4.2-sol7-sparc-local.gz
-Don
At 12:41 PM -0700 5/24/02, C Pelton wrote:
>Does anybody know a way to edit your command line arguments on the
>command line,
>other than deleting everything and re-typing? My user just want to be able to
>use emacs like commands - like you can do in a shell, and s-plus from what he
>says. I attempted to set up the emacs add-on, without much success,
>on a Solaris
>7 box, but he doesn't really want that, he just wants the command line option.
>
>Thanks,
>Chris
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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