From ggrothendieck at gmail.com  Sun Dec 27 05:38:38 2009
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sat, 26 Dec 2009 23:38:38 -0500
Subject: [Rd] simplifying number of R installations on disk
In-Reply-To: <19254.56030.904030.376115@ron.nulle.part>
References: <b7bfe54e0912261526k2c541356y86aa27ae9d5400f3@mail.gmail.com> 
	<971536df0912261716ucf3ef2kb54c4027aab0982d@mail.gmail.com> 
	<19254.56030.904030.376115@ron.nulle.part>
Message-ID: <971536df0912262038q2277af8an22af9189bafe453a@mail.gmail.com>

Note that there is a batch file Rgui.bat, etc. here:

http://batchfiles.googlecode.com

that will find R in the Windows registry and then run Rgui.exe so that
you don't need to change any paths each time you do an install. There
is also a command, Rversions.hta, that will display which versions of
R you have and set whichever you wish to be the current version.

R already uses the scheme that I mentioned for libraries (i.e. it
creates a new library when x or y in x.y.z changes but not when z
changes so I find it convenient to just stick to its default in that
case  The batchfiles collection also has utilities for moving and
copying libraries as well as notes on other ways to do it and also a
variety of other R-related batch files for Windows.

On Sat, Dec 26, 2009 at 10:56 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> Moreover, one may want to script use of R. And while I use R a lot more on
> non-Windows systems I do have helper and convenience scripts, PATH settings
> etc to create packages on Windows. ?For that I find it a PITA to have to
> adjust things on each upgrade --- and hence some time ago I stopped accepting
> the defaults and started to install R into C:/opt/R/R-current/ and treat that
> as a fixed path. I find this makes my life on Windows easier -- and yes,
> R_LIBS is also set to a fixed path.
>
> Dirk
>
> --
> Three out of two people have difficulties with fractions.
>



[Rd] simplifying number of R installations on disk
Gabor Grothendieck