[R] Install from Local Zip

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 12 05:20:11 CET 2007

On Wed, 12 Dec 2007, morphwj at comcast.net wrote:

> To install from a local zip file, install.packages option repos=NULL. 
> Then, how can dependencies of the local zip file, which are located in 
> the repository of contributor packages, be automatically installed?

They cannot.  You need a repository to know about dependencies, which are 
in the PACKAGES file.

> Or, is there a better way than to tell the person installing from local 
> zip what the dependent files are, and to install them from the 
> repository first?

Yes, create a local repository and use a file:// URL to access it. 
Details are in the R-admin manual (and in the archives of this list or 

> Bill Morphet
> 	[[alternative HTML version deleted]]
> ______________________________________________
> 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.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list