Hi, I am a bit surprised that an example code from an R-package installed from CRAN can fail:
> n<-20 > p<-10 > X<-matrix(rnorm(n*p),ncol=p) > pc<-adalasso.net(X,k=5) Performing local (adaptive) lasso regressions Vertex no Error in glmnet(XXtrain, ytrain, type.gaussian = type, standardize = FALSE) : x should be a matrix with 2 or more columns > regards -- Witold Eryk Wolski ______________________________________________ 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.