[R] Installing ESS under EMACS
Guido Masarotto
guido at sirio.stat.unipd.it
Wed Aug 16 13:54:36 CEST 2000
On Wed, Aug 16, 2000 at 12:34:28PM +0200, Yvonnick Noël wrote:
First point: You should try to give more details. Otherwise is
not easy to try to help you. For example, which messages does
emacs give? How, did you try to launch R?....
> I have tried to create a .emacs file with a command such as (load "PATH/ess-site.el")
Second point (since some local users had problem with it): where do you
put the .emacs file and are you sure it is loaded and in particular
that it loads ess-...? To test this is enough to see if Meta-R is defined:
just hit Esc R <return> and look to what happens.
In my setting, I have .emacs in c:\home and a
set HOME=c:\home
in my autoexec.bat.
If you want to avoid to set this last variable you can launch emacs
using something like "runemacs -l PATH-TO/.emacs"
>and also added a "PATH=...\rw1010\" line in my autoexec.bat,
Third point: the PATH should include "PATH-TO\rw1010\bin"
~~~
Remark: Surely having "PATH-TO\rw1010\" in PATH doesn't work.
I have never tested the above solution (and cannot test it under Windows
now since I don't have any Windows machine at hand) but it should work.
What, I am sure it __does work__ (Unix and Windows) is to set
the R executable in .emacs using
(setq-default inferior-R-program-name "PATH-TO/rw1010/bin/Rterm.exe")
This doen't require to have .../rw1010/bin in the PATH and make
easier to switch between different version of R (but this can be
un-interesting for you).
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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