[R] Upgrade 'R'
Keith Jewell
k.jewell at campden.co.uk
Tue Sep 2 10:57:01 CEST 2008
As possible help to others, and also as a request for comments on how I
might do things better, I describe how I've recently altered my system to
handle this.
I'm on a Windows Server 2003 network and the R installation is accessible to
many others. Everyone has "read" access to all installation files, but only
I have write access. I do _not_ have Administrator privileges on the server,
so I cannot make/change registry entries.
R versions are in an R folder tree, which also holds the version independent
library folder.
//Server02/stats/R
//Server02/stats/R/R-2.7.0
//Server02/stats/R/R-2.7.1
//Server02/stats/R/R-2.7.1pat
//Server02/stats/R/R-2.7.2
:
//Server02/stats/R/library
In each version I have edited /etc/Rprofile.site to include the line
.libPaths("//Server02/stats/R/library")
The "default" libraries (base, boot, class...) are installed into the
relevant version specific .../R-n.n.n/library/ folder by the windows
installer program (e.g. R-2.7.2-win32.exe).
Occasionaly, and after installing a new R-version, I update all the
downloaded libraries in the version independent //Server02/stats/R/library/
folder with a simple update.packages().
HTH. Comments welcome.
Keith Jewell
---------------------------------------
"Leon Yee" <yee.leon at gmail.com> wrote in message
news:48BCA225.7060106 at gmail.com...
> Hello, Kevin
>
> You can get some hints by browsing in this mailist with the subject of
> " Upgrading R means I lose my packages", which were posted several days
> ago.
>
> HTH
>
> Leon
>
>
> rkevinburton at charter.net wrote:
>> More and more I am getting warnings from packages that I install that the
>> package was built with 2.7.2 (I am running 2.7.1). I would like to
>> upgrade but don't want to loose all of the packages that I have installed
>> and the settings. Is there a way to just "upgrade" without uninstalling
>> and reinstalling 'R'?
>>
>> Thank you.
>>
>> Kevin
More information about the R-help
mailing list