On 15/01/2011 9:35 p.m., Berend Hasselman wrote:

...
install.packages(pkgs=c("foreach_1.3.0.tgz"),lib=.libPaths()[2],repos=NULL)

Repeat for other packages ( you can also set pkgs=c("pkg1.tgz", "pkg2.tgz",...) 
)

good luck

Berend

OK, thanks Berend! - I think that worked for the first package. Now I need to form a pkgs character vector with the names of the other 2646 packages. One way I thought of was to open a terminal window in the package folder, do an ls, then edit in all the commas and quotes. Perhaps you know an easier way?

Murray

--
Dr Murray Jorgensen      http://www.stats.waikato.ac.nz/Staff/maj.html
Department of Statistics, University of Waikato, Hamilton, New Zealand
Email: [email protected]    [email protected]      Fax 7 838 4155
Phone  +64 7 838 4773 wk    Home +64 7 825 0441   Mobile 021 0200 8350

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to