[R] Problem loading library

Nordlund, Dan (DSHS/RDA) NordlDJ at dshs.wa.gov
Fri May 18 02:21:19 CEST 2007

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Ron Crump
> Sent: Thursday, May 17, 2007 5:03 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Problem loading library
> Hi,
> I have a fresh install of R 2.5.0, I then installed the pls package.
> When trying to load this package I get:
>  > library(pls)
> Attaching package: 'pls'
>          The following object(s) are masked from package:stats :
>           loadings
>  >
> Searches show this to most often be related to attaching data,
> but I haven't got any data in here: this is the first command
> given after start-up and no historical files were loaded.
> Is there some dependency I am missing or something I need to load
> first, or do I need to unload some default library before I can
> use pls?


This is just a note telling you that if you call the function loadings(), you will get the function from the pls package, not the function of the same name in the stat package which is loaded by default on your system.  There is no need to do anything else to use the pls package.  

Hope this is helpful,


Daniel J. Nordlund
Research and Data Analysis
Washington State Department of Social and Health Services
Olympia, WA  98504-5204

More information about the R-help mailing list