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

Douglas Bates bates at stat.wisc.edu
Wed Jul 14 19:52:04 CEST 2010


On Tue, Jul 13, 2010 at 3:20 PM, array chip <arrayprofile at yahoo.com> wrote:
> Thank you Dr. Bates. I also got error message when using profile(), was that due
> to the same reason? Thanks.

Yes.

>> profile(fm1ML)
>
> Error in UseMethod("profile") :
>  no applicable method for 'profile' applied to an object of class "mer"
>
> 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