[Rd] installing R packages from command line in Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 19 10:26:35 CET 2008


On Wed, 19 Mar 2008, Alberto Labarga wrote:

> Hi,
>
> I would like to create an installer using NSIS (
> http://nsis.sourceforge.net/Main_Page) that installs R and some packages,
>
> I was expecting to use Rcmd.exe INSTALL package_name.zip, but it seems it
> is more complicated than that,

Hmm, INSTALL is clearly documented to install source packages.
Try Rcmd INSTALL --help, for example.

It's actually simpler: you just unzip the binary package in the library 
directory and (optionally) then run link.html.help() to update 
packages.html etc.

> I know I can try and build the source and create the installer myself, but
> I think this could be quicker, I can get some help
>
> any hint? anybody tried the same approach?

We document how to make a custom installer with Inno Setup, so why not 
use the documented approach?

>
> thank you very much,
>
> Alberto
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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-devel mailing list