Re: [R] lars - lasso problem

From: gauri j <>
Date: Fri, 08 Apr 2011 09:33:34 -0500

I have problem in following code, error is occurred. I have attached my data herewith. and my code is as following,
> library(lars)

Loaded lars 0.9-8
Warning message:
package 'lars' was built under R version 2.12.2
> x<- read.table("D:/spring '11/james reggression/NewFeature.txt")
> y<-read.table("D:/spring '11/lars/RFU.txt")
> out<- lars(x,y, type = "lasso")
Error in one %*% x : requires numeric/complex matrix/vector arguments

Please can you help me?

Thank u in advance.

Awaiting for reply,

Gauri C. Jape mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Fri 08 Apr 2011 - 22:32:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Apr 2011 - 23:30:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive