[R] How do I change the editor in R command window?
Dirk Eddelbuettel
edd at debian.org
Tue Mar 27 18:12:44 CEST 2001
> 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
Could 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list