Re: [R] How to install previous packages after upgrading to R 2.5.0?

From: Don MacQueen <macq_at_llnl.gov>
Date: Thu, 03 May 2007 07:45:35 -0700

I use a script, i.e., place a few lines of R code in a file:

## create a vector of package names
my.packages <- c('pkgname1','pkgname2','pkgname3')

## install them (check whether other args to install.packages() need to be specified)
install.packages(pkgs=my.packages)

and then source the script. Keep the script around, then on every upgrade to R, just source it again.

-Don

At 2:12 PM -0700 5/2/07, Jeffrey Wood wrote:
>Hello,
>
>
>
>
>I have just upgraded from R-2.4.1 to R-2.5.0 for Windows.
>
>I had installed a large number of add-on packages under 2.4.1. Is
>there an easy way to install (or load, if that's the easier way)
>those packages under 2.5.0, without having to install each package
>by hand?
>
>Thanks,
>Jeff
>
>______________________________________________
>R-help_at_stat.math.ethz.ch 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.

-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA

______________________________________________
R-help_at_stat.math.ethz.ch 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.
Received on Thu 03 May 2007 - 14:56:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 03 May 2007 - 17:31:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.