[R] automate package installation

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Apr 15 17:03:24 CEST 2011

On 13.04.2011 02:11, jkang wrote:
> I have an ubuntu image with R installed.  I want to install a list of
> packages that does not come with R. eg. cluster, gplots, hacks, mapdata.
> etc.  Over time this list may grow.
> Is there a config file that can tell R what and where to install additional
> packages?  My goal is to store all R packages on a file server so that my
> clients can install them on there workstation.  Any tips, advice, example
> commands, and scripts are greatly appreciated!

If such a network server is available for the clients, why not make
a) a network installation of R
b) provide the relevant packages in a library on the network, so that 
all clients can use the same library of R packages. You only need to 
maintain that library.

See "R Installation and Administration" on hwo to manage libraries of R 

Uwe Ligges

> --
> View this message in context: http://r.789695.n4.nabble.com/automate-package-installation-tp3445938p3445938.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org 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.

More information about the R-help mailing list