[R-sig-ME] Bug in lme4?

ONKELINX, Thierry Thierry.ONKELINX at inbo.be
Fri Apr 13 15:38:15 CEST 2012


Dear all,

After upgrading to R 2.15.0 and updating all the packages I get this error. Is this a bug?

Best regards,

Thierry

> library(lme4)
Loading required package: Matrix
Loading required package: lattice

Attaching package: 'lme4'

The following object(s) are masked from 'package:stats':

    AIC, BIC

> set.seed(123)
> dummy <- expand.grid(X = 1:20, A = factor(1:40))
> dummy$Y <- with(dummy, 0.05 * X + rnorm(length(levels(A)))[A]) + rnorm(nrow(dummy))
> model <- lmer(Y ~ X + (1|A), data = dummy)
> model
Error in diag(val) :
  7 arguments passed to .Internal(identical) which requires 6
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Dutch_Belgium.1252  LC_CTYPE=Dutch_Belgium.1252    LC_MONETARY=Dutch_Belgium.1252
[4] LC_NUMERIC=C                   LC_TIME=Dutch_Belgium.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] lme4_0.999375-42 Matrix_1.0-7     lattice_0.20-6

loaded via a namespace (and not attached):
[1] grid_2.15.0   nlme_3.1-103  stats4_2.15.0 tools_2.15.0


ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02 51
+ 32 54 43 61 85
Thierry.Onkelinx op inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey


* * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * *
Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document.
The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document.



More information about the R-sig-mixed-models mailing list