[R] How to install a package

Liaw, Andy andy_liaw at merck.com
Fri Jul 18 14:06:24 CEST 2003


> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
> 
> 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.

In place of lasso2, Prof. Hastie's lars package (also on CRAN) can be used
(and it's faster, too).

HTH,
Andy

> 
> 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

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, ...{{dropped}}




More information about the R-help mailing list