[R-sig-ME] lmList error in lme4a

David A Springate david.springate at postgrad.manchester.ac.uk
Thu Jun 9 15:37:51 CEST 2011


Thanks, Ben

I re-installed lme4a from scratch and it works fine now! 

BTW if I do require(lme4a), I still see lme4 "loaded via a namespace" in
sessionInfo(), even if I start with R --vanilla

David

On Thu, 2011-06-09 at 09:11 -0400, Ben Bolker wrote:
> On 06/09/2011 05:35 AM, David A Springate wrote:
> > Dear all,
> > 
> > I am trying to use the lmList function from lme4a, but I get the
> > following error even with the example sleepstudy dataset:
> > 
> >> require(lme4a)
> >> lmList(Reaction ~ Days | Subject, sleepstudy)
> > Call: lmList(formula = Reaction ~ Days | Subject, data = sleepstudy) 
> > Coefficients:
> > Error in sprintf(gettext(fmt, domain = domain), ...) : 
> >   invalid type of argument[1]: 'language'
> > 
>   It works for me ...  I would try starting from a clean session,
> especially making sure that you have *not* tried to load lme4 previously
> (I see you have it "loaded via a namespace" below).
> (Hmmm, I just tried loading and then detaching lme4 to get the same
> "loaded via namespace" effect, and it didn't break for me.)
> 
>   Ben Bolker
> 
> 
> 
> 
> > sessionInfo()
> R version 2.13.0 (2011-04-13)
> Platform: i486-pc-linux-gnu (32-bit)
> 
> locale:
>  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
>  [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
>  [7] LC_PAPER=en_US.utf8       LC_NAME=C
>  [9] LC_ADDRESS=C              LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> 
> other attached packages:
> [1] lme4a_0.999375-67  MatrixModels_0.2-1 minqa_1.1.15
> Rcpp_0.9.4.1
> [5] Matrix_0.999375-50 lattice_0.19-26
> 
> loaded via a namespace (and not attached):
> [1] codetools_0.2-8 grid_2.13.0     nlme_3.1-101    splines_2.13.0
> [5] tools_2.13.0
> >
> 
> > Am I missing something or is this a bug?
> > 
> > Thanks,
> > 
> > David
> > 
> >> sessionInfo()
> > R version 2.13.0 (2011-04-13)
> > Platform: i686-pc-linux-gnu (32-bit)
> > 
> > locale:
> >  [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
> >  [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8    
> >  [5] LC_MONETARY=C              LC_MESSAGES=en_GB.UTF-8   
> >  [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
> >  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
> > [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       
> > 
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods  
> > [7] base     
> > 
> > other attached packages:
> > [1] lme4a_0.999375-67  MatrixModels_0.2-1 minqa_1.1.15      
> > [4] Rcpp_0.9.4.2       Matrix_0.999375-50 lattice_0.19-23   
> > 
> > loaded via a namespace (and not attached):
> > [1] codetools_0.2-8  grid_2.13.0      lme4_0.999375-39
> > [4] nlme_3.1-100     splines_2.13.0   stats4_2.13.0   
> > [7] tcltk_2.13.0     tools_2.13.0    
> > 
> >> str(sleepstudy)
> > 'data.frame':   180 obs. of  3 variables:
> >  $ Reaction: num  250 259 251 321 357 ...
> >  $ Days    : num  0 1 2 3 4 5 6 7 8 9 ...
> >  $ Subject : Factor w/ 18 levels "308","309","310",..: 1 1 1 1 1 1 ..
> > 
> > _______________________________________________
> > R-sig-mixed-models at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> 
> _______________________________________________
> 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