[R-sig-ME] lme4 upgrade broke my old code?
bbolker at gmail.com
Tue Mar 17 18:27:20 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
On 15-03-17 01:13 PM, marKo wrote:
> On 03/17/2015 05:01 PM, Stuart Luppescu wrote:
>> Hello, I'm trying to update a mer object (here called
>> crossed.lmer3) created about 2 years ago using lmer of a version
>> I don't remember. I'm now using lme4_1.1-7 Rcpp_0.11.5
>> Matrix_1.1-5 in R version 3.1.2 (2014-10-31) Platform:
>> x86_64-redhat-linux-gnu (64-bit). When I do stuff that worked
>> before, I get errors. E.g.:
>>> crossed.lmer3a <- update(crossed.lmer3, ~ . + cmclsach +
>> Error: $ operator not defined for this S4 class
>> and summary() gives nothing interesting.
>> Length Class Mode 1 mer S4
>> Also, code from the examples from the lme4 manual also gives
>> errors: str(terms(crossed.lmer3)) Error: $ operator not defined
>> for this S4 class
>> Enter a frame number, or 0 to exit
>> Can I get a little advice here, please?
> I think that starting with version 1, lme4 was not compatible with
> the lower version code. I am afraid that you will have to calculate
> the old models again with the newer lme4.
There is some help here. If you install the lme4.0 package (see the
README at https://github.com/lme4/lme4 ) you can at least use
convert_old_lme4() to update lme4 pre 1.0 to lme4.0 ... We don't
currently have a function to convert stuff that old to modern lme4
(lots of the internal structures have changed), but if you want to
badly enough you can use lme4.0 ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the R-sig-mixed-models