[R] local intallation of MSBVAR_0.2.0.tar.gz

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Sep 20 17:28:46 CEST 2006


On Wed, 2006-09-20 at 11:12 -0400, pchen at uni-bielefeld.de wrote:
> Hello, 
> 
> can someone tell me how to install a package 
> like "MSBVAR_0.2.0.tar.gz" locllay ?
> 
> thanks

Unix/Linux or Windows? If Windows, forget the tar.gz file (unless you
are set up to compile source code), you'd probably be better off with
the zip binary. Download it instead and then look at the menus in R-GUI
for the option to install from local zip file - I rarely use Windows
these days so forget which menu it is in now.

If Unix/linux, then:

R CMD INSTALL MSBVAR_0.2.0tar.gz

or

R CMD INSTALL -l /path/to/lib MSBVAR_0.2.0tar.gz

will do what you want, the -l /path thingy allows you to install to a
specified library.

All this is explained in the R Installation and Administration manual,
that you can find here (html):

http://cran.r-project.org/doc/manuals/R-admin.html

HTH

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC & ENSIS, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-help mailing list