[R-sig-ME] env() error message

array chip arrayprofile at yahoo.com
Wed Aug 11 00:21:28 CEST 2010


Dear Dr. Bates,

I am wondering if you are able to update the book chapters for lme4 package. The 
current version of the book has been a tremendous help to me learning mixed 
model in R except some of the functions used in the book doesn't work anymore.

Thank you for your excellent work.

John



----- Original Message ----
From: Douglas Bates <bates at stat.wisc.edu>
To: array chip <arrayprofile at yahoo.com>
Cc: r-sig-mixed-models at r-project.org
Sent: Tue, July 13, 2010 12:01:20 PM
Subject: Re: [R-sig-ME] env() error message

On Tue, Jul 13, 2010 at 1:50 PM, array chip <arrayprofile at yahoo.com> wrote:
> I am following examples of the lme4 draft book.
>
>> fm1 <- lmer(Yield ~ 1 + (1|Batch), Dyestuff)
>> env(fm1ML)$Lambda
> Error: could not find function "env"
>
> what went wrong here? Maybe env() function is from some special package that I
> didn't attach?

The env function was in an unreleased version of the lme4 package and
has now been retired.

I am preparing for a tutorial at the useR!2010 conference next week
and will have the versions of lme4 and the book chapters and the
slides coordinated by then.


>
> Thanks
>
> John
>
>> sessionInfo()
> R version 2.10.1 (2009-12-14)
> i386-pc-mingw32
>
> locale:
> [1] LC_COLLATE=English_United States.1252
> [2] LC_CTYPE=English_United States.1252
> [3] LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] nlme_3.1-96        lme4_0.999375-33   Matrix_0.999375-39 lattice_0.18-3
>
> loaded via a namespace (and not attached):
> [1] grid_2.10.1  tools_2.10.1
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>




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