[R] Emacs & ESS under Windows
Renaud Lancelot
lancelot at telecomplus.sn
Sun Mar 4 23:28:30 CET 2001
Hi Emmanuel,
I use S+ and R under MSWin98 and I found your message very useful
because I spent most of my time in the week-end to try to find out how
to get emacs / ess / R work together ! Thanks to you, it works ! Prof
Ripley already suggested to use more recent versions of emacs & ess. See
2 further remarks below (signalized by "******").
As a (very) new user of emacs / ess, I like it because it is much more
convenient (IMHO) than to source R code from a file, or to edit / copy /
paste in the command window. It offers the same comfort than the script
window in S+ / MSWin, with further advantages of nice in-line debugging
facilities as indicated by Pr Ripley (typos).
> +----------------------------------+
> | How to install ESS under Windows |
> +----------------------------------+
> 1. Download a precompiled copy of Emacs v. 20.4 for Windows on Intel machines:
>
> ftp://ftp.gnu.org/gnu/windows/emacs/20.4/emacs-20.4-bin-i386.tar.gz
>
> 2. Unpack the downloaded file in a directory, e.g., "D:\", then execute the
> file "D:\emacs-20.4\addpm.exe". Emacs is then installed on your Windows
> machine, and a shortcut should have been added to your start menu.
>
> 3. Download ESS v. 5.1.8 at:
>
> http://ess.stat.wisc.edu/pub/ESS/ESS-5.1.8.zip
>
> 4. Unpack the downloaded file in "D:\emacs-20.4\lisp\" (of course, keeping
> the tree structure of the zip archive).
>
> 5. Edit the file "D:\emacs-20.4\lisp\ess-5.1.8\lips\ess-site.el", and
> modify the line #144 to this:
>
> (setq-default inferior-R-program-name "D:/rw1021/bin/Rterm.exe") ; msdos
> systems
***********
It was line 251 in the file I got (in ESS-5.1.18)
***********
> This is if you installed R for Windows in D:\; if you installed it, for
> instance, in C:\Program Files, then this line must be:
>
> (setq-default inferior-R-program-name "C:/Program
> Files/rw1021/bin/Rterm.exe") ; msdos systems
***********
In the Ess readme file, it is indicated that an "old-style" msdos name
should be given, i.e.
"C:/Progra~1/rw1021/bin/Rterm.exe"
instead of:
"C:/Program files/rw1021/bin/Rterm.exe"
***********
Thanks again,
Renaud
--
Dr Renaud Lancelot, vétérinaire
CIRAD, Département Elevage et Médecine Vétérinaire (CIRAD-Emvt)
Programme Productions Animales
http://www.cirad.fr/presentation/programmes/prod-ani.shtml
ISRA-LNERV tel (221) 832 49 02
BP 2057 Dakar-Hann fax (221) 821 18 79 (CIRAD)
Senegal e-mail renaud.lancelot at cirad.fr
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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