I have just diligently upgraded my R installation for Windows XP Pro to 1.8.0. As an ESS user and R package builder, part of this upgrade process for me always involves editing the PATH environment variable by hand to update the location of the R bin directory. Would it be possible or desirable for the R for Windows installer/uninstaller to optionally edit the PATH itself? (as, for example, the Activestate Perl installer has an option to update the PATH with the Perl bin directory). Chris -- Christopher Jackson <chris.jackson@imperial.ac.uk>, Research Associate, Department of Epidemiology and Public Health, Imperial College School of Medicine, Norfolk Place, London W2 1PG, tel. 020 759 43371
Why do you need to edit PATH? I never have the rw10xx/bin directory in my Desktop PATH. I do set the PATH in a terminal window when working with R, but I do that via the shell startup options (.tcshrc in my case). It is I believe possible to get the installer to do this, but it may well not be allowed: our students are not allowed to set it (denied by a Windows profile setting). On Fri, 10 Oct 2003, Chris Jackson wrote:> I have just diligently upgraded my R installation for Windows XP Pro to > 1.8.0. As an ESS user and R package builder, part of this upgrade process > for me always involves editing the PATH environment variable by hand to > update the location of the R bin directory. > > Would it be possible or desirable for the R for Windows > installer/uninstaller to optionally edit the PATH itself? (as, for example, > the Activestate Perl installer has an option to update the PATH with the > Perl bin directory).-- Brian D. Ripley, ripley@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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:> Why do you need to edit PATH? I never have the rw10xx/bin directory > in my Desktop PATH. I do set the PATH in a terminal window when > working with R, but I do that via the shell startup options (.tcshrc > in my case).Emacs needs to know the location of Rterm.exe to run ESS. I had also been checking, building and installing packages from the standard Windows command shell. Using a decent shell instead as you suggest would indeed be a nicer way of working.> It is I believe possible to get the installer to do this, but it may > well not be allowed: our students are not allowed to set it (denied > by a > Windows profile setting).Fair enough. Chris -- Christopher Jackson <chris.jackson@imperial.ac.uk>, Research Associate, Department of Epidemiology and Public Health, Imperial College School of Medicine, Norfolk Place, London W2 1PG, tel. 020 759 43371
On Fri, 10 Oct 2003, Chris Jackson wrote:> Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote: > > Why do you need to edit PATH? I never have the rw10xx/bin directory > > in my Desktop PATH. I do set the PATH in a terminal window when > > working with R, but I do that via the shell startup options (.tcshrc > > in my case). > > Emacs needs to know the location of Rterm.exe to run ESS.Yes, but it can be told. (setq inferior-R-program-name "/path/to/R/bin/Rterm") in a .emacs file -thomas