[Rd] simplifying number of R installations on disk

Gabor Grothendieck ggrothendieck at gmail.com
Sun Dec 27 05:38:38 CET 2009


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.
>



More information about the R-devel mailing list