[R] Quick advice on loading packages

Data Analytics Corp. walt at dataanalyticscorp.com
Tue Oct 22 01:32:17 CEST 2013


Hi,

I need some quick advice/help on loading packages.  I want to write a 
simple function to load a number of packages I intend to use at a 
conference presentation.  I'm thinking of something like:

             fn.install <- function(){install.packages(c("ggplot2", 
"scales"),  repos = "c:\\temp")}

There will be many more than just the two I listed.  All the zip files 
are in a Windows directory c:\temp.  Will this work?

Thanks,

Walt

________________________

Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ 08536
________________________
(V) 609-936-8999
(F) 609-936-3733
walt at dataanalyticscorp.com
www.dataanalyticscorp.com



More information about the R-help mailing list