[R] Review my upgrade plan from 2.8.0 to 2.8.1
ggrothendieck at gmail.com
Sat Feb 28 15:41:11 CET 2009
I am on Vista so some of this might be slightly different on XP
but I only keep one 2.8.x version, one 2.7.x version, etc.
For me, all 2.8.x versions of R go into:
so installing R-2.8.1 is just a matter of installing it over
R-2.8.0 and there is nothing more to do.
In general, I let R choose the location of the libraries. It
creates two libraries (one for the packages that come
with R and one for the ones that I download):
I do keep separate R-2.6.x, R-2.7.x, R-2.8.x, etc. and for
the corresponding libraries in win-library I use
copydir.bat or movedir.bat from batchfiles. See
I also use Rgui.bat, also from batchfiles, to start R or else
click on the R icon on the Desktop.
I don't make any change to my PATH nor do I create nor
change any environment variables. (Rgui.bat, copydir.bat,
movedir.bat, etc. can simply be placed anywhere on the
On Sat, Feb 28, 2009 at 6:23 AM, Daren Tan <darentan76 at gmail.com> wrote:
> On my laptop, R is installed on windows XP SP2 at D:\Program
> Files\R\R-2.8.0, and all add-on packages are installed at D:\Program
> Files\R\R-2.8.0.libs. In addition, I have created two environment
> enviroment to ease upgrading and installation of packages. Packages
> installed is a mix of those from CRAN, Bioconductor and local zips.
> D:\My Document\My Desktop>echo %R_HOME%
> D:/Program Files/R/R-2.8.0
> D:\My Document\My Desktop>echo %R_LIBS%
> D:/Program Files/R/R-2.8.0.libs
> My plans for upgrade. Please give your precious comments to make it as
> easy as possible, and error free.
> 1) Download R-2.8.1 and install at D:\Program Files\R\R-2.8.1.
> 2) Create a new folder D:/Program Files/R/R-2.8.1.libs, and copy all
> the packages from D:/Program Files/R/R-2.8.0.libs to the new one.
> 3) Update the two environment variables %R_HOME% and %R_LIBS% to
> point to the new R-2.8.1 and library
> 4) Execute R
> 5) Update CRAN packages via
> 6) Update Bioconductor packages via
> update.packages(repos=biocinstallRepos(), ask=FALSE)
> 7) Update local zip packages via
> Go to menu -> Packages -> Install packages from local zip -> select
> the zip file.
> 8) Done!!!
> R version 2.8.0 (2008-10-20)
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
> attached base packages:
>  grid tools stats graphics grDevices utils
> datasets methods base
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help