Since the recent update to package lme4, I now get an error when trying to
print the results using lmer to obtain model estimates for anything other
than a liner mixed model. For example,
(fm1 <- lmer(decrease ~ treatment + (1|rowpos) +
(1|colpos),family=poisson(),
data=OrchardSprays))
Produces the error:
Error in checkSlotAssignment(object, name, value) :
Assignment of an object of class "NULL" is not valid for slot
"frame" in an object of class "summary.lmer"; is(value, "data.frame") is not
TRUE
Error in show(new("summary.lmer", object, useScale = TRUE, showCorrelation =
FALSE)) :
Unable to find the argument "object" in selecting a method for
function "show"
My version information:
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 0.1
year 2004
month 11
day 15
language R
Any help greately appreciated!
lmer
3 messages · David Barron, Uwe Ligges, Renaud Lancelot
David Barron wrote:
Since the recent update to package lme4, I now get an error when trying to
print the results using lmer to obtain model estimates for anything other
than a liner mixed model. For example,
(fm1 <- lmer(decrease ~ treatment + (1|rowpos) +
(1|colpos),family=poisson(),
data=OrchardSprays))
Produces the error:
Error in checkSlotAssignment(object, name, value) :
Assignment of an object of class "NULL" is not valid for slot
"frame" in an object of class "summary.lmer"; is(value, "data.frame") is not
TRUE
Error in show(new("summary.lmer", object, useScale = TRUE, showCorrelation =
FALSE)) :
Unable to find the argument "object" in selecting a method for
function "show"
Yes, the recent version has also some inconsistancy with the mlmRev package, perhaps a bug .... Doug Bates certainly knows better. Version 0.95-1 has not had this problem (but others, I think). If you want to "downgrade" for the meantime, check out CRAN/bin/windows/contrib/2.0/last/ with "old" versions of Matrix, lme4 and friends. Uwe Ligges
My version information: platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 0.1 year 2004 month 11 day 15 language R Any help greately appreciated!
______________________________________________ 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
Uwe Ligges a ?crit :
David Barron wrote:
Since the recent update to package lme4, I now get an error when
trying to
print the results using lmer to obtain model estimates for anything other
than a liner mixed model. For example,
(fm1 <- lmer(decrease ~ treatment + (1|rowpos) +
(1|colpos),family=poisson(),
data=OrchardSprays))
Produces the error:
Error in checkSlotAssignment(object, name, value) : Assignment
of an object of class "NULL" is not valid for slot
"frame" in an object of class "summary.lmer"; is(value, "data.frame")
is not
TRUE
Error in show(new("summary.lmer", object, useScale = TRUE,
showCorrelation =
FALSE)) : Unable to find the argument "object" in selecting a
method for
function "show"
Yes, the recent version has also some inconsistancy with the mlmRev package, perhaps a bug .... Doug Bates certainly knows better. Version 0.95-1 has not had this problem (but others, I think). If you want to "downgrade" for the meantime, check out CRAN/bin/windows/contrib/2.0/last/ with "old" versions of Matrix, lme4 and friends. Uwe Ligges
My version information: platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 0.1 year 2004 month 11 day 15 language R Any help greately appreciated!
Quoting Douglas Bates after a private message (last Friday) on this topic: [...] I must change the lmer methods for GLMMs to correspond to the new lmer structure. I won't be able to fix this immediately as I leave early tomorrow morning for Montreal to teach a short course. Look for a new lme4 package by midweek next week. Best, Renaud
Dr Renaud Lancelot, v?t?rinaire
C/0 Ambassade de France - SCAC
BP 834 Antananarivo 101 - Madagascar
e-mail: renaud.lancelot at cirad.fr
tel.: +261 32 40 165 53 (cell)
+261 20 22 665 36 ext. 225 (work)
+261 20 22 494 37 (home)