I'm having the same error too, but it's very rare though... (especially when using datasets with many variables, say 25). A somewhat odd, but seemingly effective, way to solve this, is by writing try(lars(x,y),silent = T). The try-command in this shape will not generate an error on the console and therefore, any running programs are not aborted. When there is no error, you simply get the LARS object. When there is an error, you get a character string (can be checked by 'is.character()'). I suggest to perturb the data a little to get it to work...
Best Regards, Timmie Smet B.A.P. Operations Research and Business Statistics University of Leuven, Belgium -- View this message in context: http://r.789695.n4.nabble.com/lasso-lars-error-tp831400p3173480.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.