Dear members, I have spent some time to make clear how I could write R programs from within EMACS using the ESS package, under Win98. Unfortunately, I have found this not quite clear for Windows 98 (though a lot of details are provided for UNIX). I have tried to create a .emacs file with a command such as (load "PATH/ess-site.el") and also added a "PATH=...\rw1010\" line in my autoexec.bat, but this does not seem to have any effect. As I am no expert at Lisp (nor at EMACS), could somebody be so kind as to tell me what are the (probably very simple) manipulations to do to have all this work? Thanks a lot in advance, Yvonnick Noel, PhD. U. of Lille 3 Dpt. of Psychology France -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 16 Aug 2000, [iso-8859-1] Yvonnick Noël wrote:> Dear members, > > I have spent some time to make clear how I could write R programsfrom within EMACS using the ESS package, under Win98. Unfortunately, I have found this not quite clear for Windows 98 (though a lot of details are provided for UNIX). As the rw-FAQ says: 2.7 Can I use rwXxxx with ESS and emacs? ======================================= Yes. The latest versions of ESS (e.g. 5.1.16) come with support for this version of R, and there is support for interrupting the R process from ESS (by `C-c C-c'). For help with ESS, please send email to <ESS-help at stat.ethz.ch>, not the R mailing lists. As already noted here, there is a problem on Windows 2000, but not 98 nor NT4, running the Rterm program that ess mode uses. There is also a problem that the ESS maintainers acknowledge but do absolutely enough about bug reports, so the inferior R mode puts out an irritating message about a beta version of R-0.63.3 (which was incorrect even at the time). This suggests they don't use R under Windows, under ESS or otherwise. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Yvonnick No?l wrote:> > Dear members, > > I have spent some time to make clear how I could write R programs from within >EMACS using the ESS package, under Win98. Unfortunately, I have found this not >quite clear for Windows 98 (though a lot of details are provided for UNIX). > > I have tried to create a .emacs file with a command such as (loadI think it?s not allowed to create filenames on MS-Systems beginning with a dot, use _ instead, e.g. _emacs. You can save files beginning with a dot in Emacs, but your OS doesn?t support this and can?t find these files.>"PATH/ess-site.el") and also added a "PATH=...\rw1010\" line in my autoexec.bat, >but this does not seem to have any effect. >You need to set a global HOME-variable for your _emacs file. My MS-time is a long time ago, but I think you can do this in autoexec.bat with set HOME=\path\to\your\_emacs\file and restart your computer. Please take a look in the Emacs-docs, it should be described anywhere. Bye, Sven -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._