Skip to content
Prev 25017 / 398502 Next

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

Dear Mike,
At 08:07 AM 11/6/2002 -0500, Michael L Friendly wrote:
What I do is set the environment variable R_LIBS to c:\R\Local (of course, 
you can adjust this to reflect where you want the packages to reside on 
your system). That way, all packages (beyond those in the R distribution) 
get installed in this location. When I install a new version of R, all I 
have to do is update the installed packages (via update.packages on the 
Packages menu in Rgui).

For a start, you could copy all of your current contributed packages to a 
local library directory and proceed as I suggested.

I hope that this help,
  John
____________________________
John Fox
Department of Sociology
McMaster University
email: jfox at mcmaster.ca
web: http://www.socsci.mcmaster.ca/jfox
____________________________

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