[R] How to install a package

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jul 18 10:04:39 CEST 2003


On Sun, 13 Jul 2003, Duncan Murdoch wrote:

> On Sun, 13 Jul 2003 15:38:54 -0600, you wrote:
> 
> >My platform: R 1.7.0 + windows2000.
> >
> >I am trying to install the package "lasso2" which I saw in the
> >following web address:
> >http://cran.us.r-project.org/src/contrib/PACKAGES.html#emplik. However,
> >I failed to install it from R menu "Packages| Install package(s) from
> >CRAN" since I could not find this item in the list.
> 
> The list in the menu consists of packages that have been compiled for
> Windows.  It looks as though lasso2 won't compile for Windows without
> modifications.  If you want to use it, you'll need to find a compiled
> copy somewhere else, or compile it yourself.

It's worse: it will compile but it will not pass its own tests.  That's 
true on all my platforms with current R, not just Windows.

There is a ReadMe at

http://cran.us.r-project.org/bin/windows/contrib/1.7/ReadMe

Please read it!  Please also update to R 1.7.1.

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