ryszard.czerminski@pharma.novartis.com
2004-May-27 18:11 UTC
[R] R-1.9.0: Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no default
Is it just my installation or bug in 1.9.0 ? The same thing works fine in 1.8.1 Best regards, Ryszard # R-1.9.0 library(pls.pcr) nr <- 8; ndim <- 2 x <- matrix(rnorm(nr*ndim), nrow=nr) y <- as.matrix(x[,1]) for (i in 2:ndim) y <- y + x[,i] y <- y + rnorm(length(y)) m <- pls(x,y,validation='CV') # Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no default
Uwe Ligges
2004-May-27 18:31 UTC
[R] R-1.9.0: Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no default
ryszard.czerminski at pharma.novartis.com wrote:> Is it just my installation or bug in 1.9.0 ? > The same thing works fine in 1.8.1 > > Best regards, > > Ryszard > > # R-1.9.0 > library(pls.pcr) > nr <- 8; ndim <- 2 > x <- matrix(rnorm(nr*ndim), nrow=nr) > y <- as.matrix(x[,1]) > for (i in 2:ndim) y <- y + x[,i] > y <- y + rnorm(length(y)) > m <- pls(x,y,validation='CV') > # Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no > default > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlThat's a bug in the recent version of the package "pls.pcr" (and not related to the R version). Please report it to the package maintainer. Uwe Ligges