[R-sig-ME] lme4 1.0-4 now on CRAN
Joshua Wiley
jwiley.psych at gmail.com
Wed Sep 25 00:15:46 CEST 2013
Hadley is correct. Installing from source on R 3.0.0 windows works:
> install.packages("lme4", repos = "http://cran.r-project.org", type = "source")
[snip compile info]
> require(lme4)
[snip]
> example(lmer)
lmer> ## linear mixed models - reference values from older code
lmer> (fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy))
Linear mixed model fit by REML ['lmerMod']
Formula: Reaction ~ Days + (Days | Subject)
Data: sleepstudy
REML criterion at convergence: 1743.628
Random effects:
Groups Name Std.Dev. Corr
Subject (Intercept) 24.741
Days 5.922 0.07
Residual 25.592
Number of obs: 180, groups: Subject, 18
Fixed Effects:
(Intercept) Days
251.41 10.47
lmer> summary(fm1)# (with its own print method)
Linear mixed model fit by REML ['lmerMod']
Formula: Reaction ~ Days + (Days | Subject)
Data: sleepstudy
REML criterion at convergence: 1743.628
Random effects:
Groups Name Variance Std.Dev. Corr
Subject (Intercept) 612.10 24.741
Days 35.07 5.922 0.07
Residual 654.94 25.592
Number of obs: 180, groups: Subject, 18
Fixed effects:
Estimate Std. Error t value
(Intercept) 251.405 6.825 36.84
Days 10.467 1.546 6.77
Correlation of Fixed Effects:
(Intr)
Days -0.138
On Tue, Sep 24, 2013 at 11:53 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
>> Has the output of
>>
>> traceback()
>>
>> after this error been posted? If not, could you do so?
>
> We had a similar problem with Shiny - some notes I had from a chat
> Winston follow:
>
> We seem to be getting a bug related to this for some people who are using Shiny
> https://github.com/wch/r-source/commit/5c97cd443058434015670f0b7af4c2a86b732e89
>
> setRefClass calls refClassInformation calls .makeDefaultBinding calls
> .setDummyField
> turns out the problem was that we were distributing a package built
> under 3.0.1, and users who installed under 3.0.0 had problems with
> something about .setDummyField
> The solution seems to be to rebuild under 3.0.0 and distribute that
>
>
> So it may not be a problem with the package source.
>
> Hadley
>
>
> --
> Chief Scientist, RStudio
> http://had.co.nz/
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
--
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://joshuawiley.com/
Senior Analyst - Elkhart Group Ltd.
http://elkhartgroup.com
More information about the R-sig-mixed-models
mailing list