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
Prof Brian Ripley
2013-Aug-15 10:24 UTC
[R] parcor package example for adalasso.net fails.
On 15/08/2013 10:56, Witold E Wolski wrote:> 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 >Why are you surprised? See http://cran.r-project.org/web/checks/check_results_parcor.html and note that glmnet was updated recently. Complaints to the parcor 'maintainer' only ... she is not responding to notifications and the package is scheduled to be archived shortly. -- 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