[R] Upgrading to R and keeping packages

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Aug 8 10:35:19 CEST 2013


On 08/08/2013 09:07, Pancho Mulongeni wrote:
> Hi! I just installed the latest R 3.01.
> I then wanted to update my packages.
> I believe the advice given is to take the library folder from the old R version and copy it on top of (overwrite) the library folder of the new R version, in my case the library of R 2.15.2 to library of R 3.01.
>
> When I did this, the next time I started R 3.01, I had an error message
> Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") :
>    "R_isMethodsDispatchOn" not available for .Call() for package "base"
>
> also the update.packages() function was 'not available'.
> Where did I go wrong?

Copy over the base packages.

This was never the advice.  See e.g. 
http://cran.r-project.org/bin/windows/base/rw-FAQ.html#What_0027s-the-best-way-to-upgrade_003f

> I think I will just update the packages I want rather than the whole folder and see if this works,
>
> Pancho Mulongeni
> Research Assistant
> PharmAccess Foundation
> 1 Fouché Street
> Windhoek West
> Windhoek
> Namibia
>
> Tel:   +264 61 419 000
> Fax:  +264 61 419 001/2
> Mob: +264 81 4456 286
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
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