[R] Package Batch Install (fwd)

Al Piszcz apiszcz at solarrain.com
Sat Aug 9 22:00:19 CEST 2003


I'm looking for a method to load a list of packages
with no human interaction.

pkg<-c("pkgname1","pkgname2","pkgname3")
install.packages(pkg)

Performs multiple installs, however it
still requires a user reponse.




I have also tried:


install.packages("packagename",download=NULL)

ask only covers the initial interaction to allow install to start.

install.packages("packagename",ask=FALSE)

In both cases the install pauses when complete asking
to delete the files.

* DONE (INSTALL)

Delete downloaded files (y/N)? y




More information about the R-help mailing list