[R-sig-ME] problem in the implementation of the function

Ben Bolker bbolker at gmail.com
Mon Mar 26 14:22:08 CEST 2012


cristiana vieira <cristiana1710vieira at ...> writes:

> 
> 

[snip]
 
> When i ran the example given in the help of the software R and I
> obtained the same error: > library(lme4)Loading required package:
> MatrixLoading required package: lattice Attaching package:
> ‘Matrix’ The following object(s) are masked from
> ‘package:base’: det Attaching package: ‘lme4’ The
> following object(s) are masked from ‘package:stats’: AIC, BIC
> > ?lmerstarting httpd help server ... done > (fm1 <- lmer(Reaction ~
> Days + (Days|Subject), sleepstudy))Error in as(ff, "sparseMatrix") :
> unused argument(s) ("sparseMatrix") > sessionInfo()R version 2.14.2
> (2012-02-29)Platform: i386-pc-mingw32/i386 (32-bit) locale:[1]
> LC_COLLATE=Portuguese_Portugal.1252
> LC_CTYPE=Portuguese_Portugal.1252 [3]
> LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C [5]
> LC_TIME=Portuguese_Portugal.1252 attached base packages:[1] stats
> graphics grDevices utils datasets methods base other attached
> packages:[1] lme4_0.999375-42 Matrix_1.0-4 lattice_0.20-0 loaded via
> a namespace (and not attached):[1] grid_2.14.2 nlme_3.1-103
> stats4_2.14.2 tools_2.14.2 


  (Sorry about the mangling of the example format below.)
  I very strongly suspect that this is due to a mismatch with
the version of the Matrix package.  Version 1.0-5 is available
on CRAN; could you please install it (either via update.packages(),
or via install.packages(), or via the appropriate menu item
if you are running in a GUI -- they should all be equivalent)
and report back if the problem persists?
  
   (The listed dependency of the package is only
Matrix >=0.9996875-1 ; we should probably update this, although
we are also working hard to replace the current version of lme4 ...)

  Ben Bolker




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