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

John Fox jfox at mcmaster.ca
Wed Nov 6 23:20:41 CET 2002


Dear Roger and Mike,

I used to do it this way, but it helps to keep the base and recommended 
packages, which are part of the R distribution, separate from the 
"contributed" packages.

John

At 09:54 AM 11/6/2002 -0800, Roger Peng wrote:
>How about just copying the library directory from your 1.5.1 directory to
>your 1.6.1 directory?  Then run update.packages() from R.
>
>-roger
>_______________________________
>UCLA Department of Statistics
>rpeng at stat.ucla.edu
>http://www.stat.ucla.edu/~rpeng
>
>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.
> >
> > --
> > Michael Friendly     Email: friendly at yorku.ca
> > Professor, Psychology Dept.
> > York University      Voice: 416 736-5115 x66249 Fax: 416 736-5814
> > 4700 Keele Street    http://www.math.yorku.ca/SCS/friendly.html
> > Toronto, ONT  M3J 1P3 CANADA
> >
> >
> > 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > 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
> > 
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> >
>
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

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



More information about the R-help mailing list