Re: [Rd] simplifying number of R installations on disk

From: Gabor Grothendieck <>
Date: Sat, 26 Dec 2009 23:38:38 -0500

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

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 <> 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.
> mailing list Received on Sun 27 Dec 2009 - 04:42:52 GMT

This archive was generated by hypermail 2.2.0 : Sun 27 Dec 2009 - 15:51:14 GMT