[R] Conflicts using Rcmdr, nlme and lme4

John Fox jfox at mcmaster.ca
Sun Jan 30 14:25:57 CET 2005


Dear CG,

> -----Original Message-----
> From: CG Pettersson [mailto:cg.pettersson at evp.slu.se] 
> Sent: Sunday, January 30, 2005 3:12 AM
> To: John Fox
> Cc: r-help at stat.math.ethz.ch
> Subject: RE: [R] Conflicts using Rcmdr, nlme and lme4
> 
> Thanks a lot, both to Prof Bates and Prof Fox.
> I see at least some bits of the light now.
> 
> One original question remaines though:
> Why do all these (22 of them) packages autoload in the first place?
> I don´t want them to.
> 
> It must have something to do with the original loading from 
> Rcmdr, as (for example) nlme does *not* autoload by itself no 
> matter how many lme objects there are in a reopened 
> workspace, this is good as far as I am concerned. It is 
> especially strange as Rcmdr itself does not outoload.
> 
> How do I supress this behavior?
> 

This shouldn't happen if you close the Commander window *before* closing R
and saving the workspace. The behaviour likely persists since the workspace
was previously saved with the Commander Window open. That's not really an
explanation, but it does describe what happens, I believe.

Regards,
 John

> Thanks
> /CG
> 
> 
> 28 Jan,  John Fox wrote:
> -------------------
> > Dear CG,
> > 
> > An addendum to my previous response: If you do decide to recompile
> the Rcmdr
> > package to eliminate the dependency on nlme, as I suggested, you'll
> also
> > have to edit the .onLoad() function in the package (which is in the
> file
> > startup.R in the source package) to remove "nlme" from the 
> vector of 
> > required packages.
> > 
> > Regards,
> >  John
> > 
> > --------------------------------
> > John Fox
> > Department of Sociology
> > McMaster University
> > Hamilton, Ontario
> > Canada L8S 4M4
> > 905-525-9140x23604
> > http://socserv.mcmaster.ca/jfox
> > --------------------------------
> > 
> > > -----Original Message-----
> > > From: r-help-bounces at stat.math.ethz.ch 
> > > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of CG
> Pettersson
> > > Sent: Friday, January 28, 2005 5:15 AM
> > > To: r-help at stat.math.ethz.ch
> > > Subject: [R] Conflicts using Rcmdr, nlme and lme4
> > > 
> > > Hello all!
> > > 
> > > R2.0.1, W2k. All packages updated.
> > > 
> > > I´m heavily dependant on using mixed models. Up til´now I have
> used
> > > lme() from nlme as I have been told to. Together with
> > > estimable() from gmodels it works smooth. I also often run Rcmdr, 
> > > mostly for quick graphics.
> 
> ...snip...
> 
> > 
> CG Pettersson, MSci, PhD Stud.
> Swedish University of Agricultural Sciences Dep. of Ecology 
> and Crop Production. Box 7043 SE-750 07 Uppsala




More information about the R-help mailing list