From ripley at stats.ox.ac.uk  Wed Mar 19 10:26:35 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 19 Mar 2008 09:26:35 +0000 (GMT)
Subject: [Rd] installing R packages from command line in Windows
In-Reply-To: <f117943a0803190216x5a524e4al7ef1ced22e6ee365@mail.gmail.com>
References: <f117943a0803190216x5a524e4al7ef1ced22e6ee365@mail.gmail.com>
Message-ID: <alpine.LFD.1.00.0803190920370.4507@gannet.stats.ox.ac.uk>

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



[Rd] installing R packages from command line in Windows
Prof Brian Ripley