Re: [Rd] error message from lmer

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Thu, 28 Jun 2007 13:15:28 -0500

On Thu, 28 Jun 2007 06:08:45 +0100 (BST), Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:

> See the thread starting
> https://stat.ethz.ch/pipermail/r-devel/2007-June/046157.html
> https://stat.ethz.ch/pipermail/r-devel/2007-June/046160.html

Thank you, I think I've indeed encountered the same issue (with 'R --vanilla'). If I load package diveMove (which depends on stats4, in my local development version) after lme4:

---<---------------cut here---------------start-------------->---
> library(lme4) # load lme4 first; everything ok
Loading required package: Matrix
Loading required package: lattice
> (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
Linear mixed-effects model fit by REML
Formula: Reaction ~ Days + (Days | Subject)

   Data: sleepstudy
  AIC BIC logLik MLdeviance REMLdeviance  1754 1770 -871.8 1752 1744 Random effects:

 Groups   Name        Variance Std.Dev. Corr  
 Subject  (Intercept) 610.835  24.7151        
          Days         35.056   5.9208  0.067 
 Residual             655.066  25.5943        
number of obs: 180, groups: Subject, 18

Fixed effects:

            Estimate Std. Error t value
(Intercept)  251.405      6.820   36.86
Days          10.467      1.546    6.77

Correlation of Fixed Effects:
     (Intr)
Days -0.137

> library(diveMove) # load this now; everything ok too
Loading required package: stats4
> (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
Linear mixed-effects model fit by REML
Formula: Reaction ~ Days + (Days | Subject)

   Data: sleepstudy
  AIC BIC logLik MLdeviance REMLdeviance  1754 1770 -871.8 1752 1744 Random effects:

 Groups   Name        Variance Std.Dev. Corr  
 Subject  (Intercept) 610.835  24.7151        
          Days         35.056   5.9208  0.067 
 Residual             655.066  25.5943        
number of obs: 180, groups: Subject, 18

Fixed effects:

            Estimate Std. Error t value
(Intercept)  251.405      6.820   36.86
Days          10.467      1.546    6.77

Correlation of Fixed Effects:
     (Intr)

Days -0.137
---<---------------cut here---------------end---------------->---


Now if diveMove is loaded before lme4 (with 'R --vanilla' again):

---<---------------cut here---------------start-------------->---
> library(diveMove) # load diveMove first
Loading required package: stats4
> library(lme4) # load lme4 here; error in printMer()
Loading required package: Matrix
Loading required package: lattice
> (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy))
Error in printMer(object) : no slot of name "status" for this object of class "table"
> find("summary")

[1] "package:Matrix" "package:stats4" "package:base"

---<---------------cut here---------------end---------------->---


-- 
Seb

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 28 Jun 2007 - 19:48:00 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 Thu 28 Jun 2007 - 22:35:47 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.