[R] Updating packages for R 2.6.0

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Oct 4 13:13:13 CEST 2007

Since this has come up already:

It is a good idea to re-install all packages for a minor-version increment 
of R, e.g. 2.5.1 -> 2.6.0 (it is major.minor.patchlevel).  This is most 
easily done by

> update.packages(checkBuilt=TRUE, ask=FALSE)

However, if you don't want to do that yet, be aware that

- Certain S4-using packages must be reinstalled, and using old versions 
can make R malfunction.  I believe these are Brobdingnag, Matrix, NADA and 

- Any S4 package that makes an existing function S4-generic will grab that 
function as it existed in the version of R under which they were 
installed.  If it has changed, there is potential trouble.

- Packages that create or change character strings at C level will have 
needed to be updated for R 2.6.0 (and some have not yet been).  Using such 
a package can in principle result in other character data being changed 
(since most character strings now share storage).

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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list