Rasmus E. Benestad
2001-Mar-27 06:30 UTC
[R] How do I change the editor in R command window?
Dear R-help, I have started using R on my Linux box (Debian), and I have some problems with setting the editor/keyboard for R. The For instance, arrow-up gives "^[[A", and delete gives "^H". I have a Norwegian keyboard, but that doesn't cause any problems for editors like emacs. Could you advice me on how I can set the editor for R right? I have tried option(editor="emacs") and setenv R_EDITOR=emacs, but without any effect. Yours sincerely Rasmus Benestad -- ______________________________________________________________________________ Rasmus E. Benestad, D.Phil, GradInstP, The Norwegian Meteorological Institute rasmus.benestad at dnmi.no http://home.enitel.no/benestad/rasmus.html phone: (+47) 22 96 31 70 mobile: (+47) 99 45 04 16 fax: (+47) 22 96 30 50 ______________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010327/3a4afd71/attachment.html
detlef.steuer@unibw-hamburg.de
2001-Mar-27 07:11 UTC
[R] How do I change the editor in R command window?
Hello! The most convenient way to edit in/for R is using ESS (Emacs Speaks Statistics). It can be found here: http://ess.stat.wisc.edu/pub/ESS/ . (Also mentioned in the FAQ under "6. R and Emacs".) As you obviously do not fear emacs this is your choice and worth reading its documentation. detlef On 27-Mar-01 Rasmus E. Benestad wrote:> Dear R-help, > > I have started using R on my Linux box (Debian), and I have some > problems with setting the editor/keyboard for R. The > For instance, arrow-up gives "^[[A", and delete gives "^H". I have a > Norwegian keyboard, but that doesn't cause any > problems for editors like emacs. Could you advice me on how I can set > the editor for R right? I have tried option(editor="emacs") > and setenv R_EDITOR=emacs, but without any effect. > > Yours sincerely Rasmus Benestad > > -- > ______________________________________________________________________________ > Rasmus E. Benestad, D.Phil, GradInstP, The Norwegian Meteorological > Institute > rasmus.benestad at dnmi.no > http://home.enitel.no/benestad/rasmus.html > phone: (+47) 22 96 31 70 mobile: (+47) 99 45 04 16 fax: (+47) 22 96 30 > 50 > ______________________________________________________________________________ > >Detlef Steuer ** Universität der Bw ** 22043 Hamburg Tel: (0049) (0)40/6541-2819 steuer at unibw-hamburg.de There is more to life than increasing its speed. - Mahatma Gandhi -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dirk Eddelbuettel
2001-Mar-27 16:12 UTC
[R] How do I change the editor in R command window?
> I have started using R on my Linux box (Debian), and I have some > problems with setting the editor/keyboard for R. The > For instance, arrow-up gives "^[[A", and delete gives "^H". I have a > Norwegian keyboard, but that doesn't cause any > problems for editors like emacs. Could you advice me on how I can setCould it be that you recompiled R yourself on a system without the headers for the libreadline4 library (i.e. the libreadline4-dev package) ? In that case, configure does not find the the readline library, and R will be built without readline support. But in any event, Debian users can simply point apt to a CRAN mirror as e.g. per deb http://cran.us.r-project.org/bin/linux/debian potato main (adjust either of the ISO country codes, or the Debian distribution, to taste) to automagically obtain fresh versions of R shortly after each new release. As for the editor request, the CRAN sites also carries current ESS packages for Debian, so all you need (with a line in place as shown above in /etc/apt/sources.list) is apt-get update; apt-get install ess and you should be all set. Regards, Dirk> > the editor for R right? I have tried option(editor="emacs") > > and setenv R_EDITOR=emacs, but without any effect. > > > > Yours sincerely Rasmus Benestad > > > > -- > > ______________________________________________________________________________ > > Rasmus E. Benestad, D.Phil, GradInstP, The Norwegian Meteorological > > Institute > > rasmus.benestad at dnmi.no > > http://home.enitel.no/benestad/rasmus.html > > phone: (+47) 22 96 31 70 mobile: (+47) 99 45 04 16 fax: (+47) 22 96 30 > > 50 > > ______________________________________________________________________________ > > > > > > Detlef Steuer ** Universit?t der Bw ** 22043 Hamburg > Tel: (0049) (0)40/6541-2819 > steuer at unibw-hamburg.de > > There is more to life than increasing its speed. - Mahatma Gandhi > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ > > >-- According to the latest figures, 43% of all signatures are totally worthless. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._