Skip to content

Problem with 'lars' package

3 messages · khasanova at berkeley.edu, Tal Galili, Uwe Ligges

#
Hi,
I'm having trouble running 'lars'. When I install it I get the following
warning:
Warning in install.packages("lars") :
  argument 'lib' is missing: using
'C:\Users\Anna\Documents/R/win-library/2.10'
--- Please select a CRAN mirror for use in this session ---
trying URL
'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.10/lars_0.9-7.zip'
Content type 'application/zip' length 211898 bytes (206 Kb)
opened URL
downloaded 206 Kb

package 'lars' successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Users\Anna\AppData\Local\Temp\RtmpmRYoLn\downloaded_packages
Warning message:
In open.connection(con, "r") :
  unable to connect to 'cran.r-project.org' on port 80.


When I actually try to run it, it gives me the following message:

Error: argument "Gram" is missing, with no default

What is the problem?
Thank you,
Anna
#
On 27.04.2010 07:33, Tal Galili wrote:
... which explains one warning, see bewlow.
Well, you have not specified a library, hence the first one from 
.libPaths() is used. You can probably ignore it if this is fine for you.
The CRAN master is unexpectedly unavailable as explained by Tal Galili.
This can be ignored, R tried to update the list of mirrors for you (from 
the CRAN master).
You misspecified a function call,I guess. But hard to say what you did 
without seeing the actual code.

Uwe Ligges