Re: [R] Problem loading library

From: Nordlund, Dan (DSHS/RDA) <>
Date: Thu, 17 May 2007 17:21:19 -0700

> -----Original Message-----
> From:
> [] On Behalf Of Ron Crump
> Sent: Thursday, May 17, 2007 5:03 PM
> To:
> 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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 18 May 2007 - 00:31:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 May 2007 - 01:31:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.