[R] How to use install.packages()

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue May 1 16:40:31 CEST 2001

On Tue, 1 May 2001, Stat/NCKU wrote:

> Dear R-friends,
> As the binary windows version of R being distributed,
> what is the correct way to install contributed packages without
> using winst.exe as before?
> The answer in "R for Windows FAQ" says:
> "You can install pre-compiled packages either from CRAN
> or from a local .zip file by using install.packages: see its help page."
> But the information available in help(install.packages) is limited and
> makes me don't know what do next for

Try following this section of the help page:

     Argument `pkgs' can also be a character vector of file names of
     zip files if `CRAN=NULL'. The zip files are then unpacked

As from the next release, there will be a menu option to do this,
but for this release rwinst.exe can still be used.

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list