[R] Modyfing PATH in Windows Installer for R

Duncan Murdoch murdoch at stats.uwo.ca
Mon Dec 6 15:58:08 CET 2004

On Mon, 06 Dec 2004 14:34:01 +0000, Chris Jackson
<chris.jackson at imperial.ac.uk> wrote :

>The ideal solution seems to be what's done in Mac OS X, that is, to
>store a permanent path to the current R version as a symlink, and then
>just changing where the symlink points to when R is upgraded.
>Unfortunately Windows doesn't do symlinks.

It doesn't do symlinks, but for this purpose shortcuts are pretty much
the same thing.  In the default interpreter, "shortcut.lnk" or "start
shortcut.lnk" does the same as clicking on the shortcut in Explorer.
If you don't use the default interpreter, you might want a helper
executable that provides the "start" command externally.  It's trivial
to write (if you don't want all the bells and whistles of the internal

Duncan Murdoch

More information about the R-help mailing list