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?
Any solutions welcome.
Regards,
Ron.
> -----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? >Ron, 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, Dan Daniel J. Nordlund Research and Data Analysis Washington State Department of Social and Health Services Olympia, WA 98504-5204
it's not really an error but it changes how you call things depending
on what you need. If you want to use loadings in stats,
you will have to use it by saying stats::loadings because it's masked
and then
you use loadings from pls by just saying loadings. Other than that,
there's no problem I don't think.
-----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 8: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?
Any solutions welcome.
Regards,
Ron.
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--------------------------------------------------------
This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}