Skip to content

PLS package loading error!

2 messages · mienad, James W. MacDonald

#
Hi,

I am using  R 2.8.1 version on Windows with RGui. I have loaded pls package
lattest version (2.1-0). When I try to load this package in R using
library(pls) command, the following error message appear:

Erreur dans library(pls) : 
  'pls' n'est pas un package valide -- a-t-il ?t? install? < 2.0.0 ?

Could you please help me to solve this problem?

Regards 

Damien
#
Hi Damien,

How did you install the package? Usually this error pops up when people 
simply download the zip file and then unzip into their library directory.

If you use the package installation functions in R, you shouldn't have 
this problem:

install.packages("pls")

Best,

Jim
mienad wrote: