Re: [R] Strange behaviour of load

2006-01-12 Thread Prof Brian Ripley
On Wed, 11 Jan 2006, giovanni parrinello wrote:

 Dear All,
 simetimes when I load an Rdata I get this message

 ###
 Code:

 load('bladder1.RData')
 Carico il pacchetto richiesto: rpart ( Bad traslastion: Load required 
 package-...)
 Carico il pacchetto richiesto: MASS
 Carico il pacchetto richiesto: mlbench
 Carico il pacchetto richiesto: survival
 Carico il pacchetto richiesto: splines

 Carico il pacchetto richiesto: 'survival'


The following object(s) are masked from package:Hmisc :

 untangle.specials

 Carico il pacchetto richiesto: class
 Carico il pacchetto richiesto: nnet
 #

 So  I have many unrequired packages loaded.
 Any idea?

They are required!  My guess is that you have object(s) saved with 
environment the namespace of some package, and loading that namespace is 
pulling these in.  The only CRAN package which requires mlbench appears to 
be ipred, and that requires all of those except splines, required by 
survival.

So I believe you have been using ipred and have saved a reference to its 
namespace.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@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


[R] Strange behaviour of load

2006-01-11 Thread giovanni parrinello
Dear All,
simetimes when I load an Rdata I get this message 

###
Code:

load('bladder1.RData')
Carico il pacchetto richiesto: rpart ( Bad traslastion: Load required 
package-...)
Carico il pacchetto richiesto: MASS
Carico il pacchetto richiesto: mlbench
Carico il pacchetto richiesto: survival
Carico il pacchetto richiesto: splines

Carico il pacchetto richiesto: 'survival'


The following object(s) are masked from package:Hmisc :

 untangle.specials 

Carico il pacchetto richiesto: class
Carico il pacchetto richiesto: nnet
#

So  I have many unrequired packages loaded.
Any idea?
TIA
Giovanni

dr. Giovanni Parrinello
Section of Medical Statistics
Department of Biotecnologies
Viale Europa, 11
25100 Brescia
Italy

Tel: +3930/3717528
Fax: +3930/3717488
[[alternative HTML version deleted]]

__
R-help@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