[R] how to update installed packages to a new version of R?

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 6 18:32:04 CET 2002

This is covered in the rw-FAQ, questions 2.4 and 2.5.

I think I would uninstall rw1051, install rw1061, move the remaining files
in rw1051/library to some suitable place, set R_LIBS in .Renviron,
then fire up 1.6.1 and update the packages.

If you use a separate library for installed packages upgrading is very

On Wed, 6 Nov 2002, Michael L Friendly wrote:

> I've just installed R 1.6.1 and would like to install all the
> contributed packages I had used in 1.5.1.
> It's not too hard to do this manually from Rgui, but I wondered if there
> is an easier way,
> something like writing the results of installed.packages() from 1.5.1 to
> a file and
> using that with install.packages() in 1.6.1, or just having 1.6.1 read
> what's in rw151/library.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list