[R] R-1.9.0: Error in paste(ncomp, "LV's") : Argument "ncomp" is missing, with no default

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu May 27 20:31:21 CEST 2004


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.html


That'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




More information about the R-help mailing list