Re: [R] Install from Local Zip

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 12 Dec 2007 04:20:11 +0000 (GMT)

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 R-devel).

> 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

______________________________________________
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.
Received on Wed 12 Dec 2007 - 04:23:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Dec 2007 - 06:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.