
I am a Master student in Statistics of University Minho, Guimarăes, Portugal.
Right now, I am developing and writing my master's thesis and I tried to apply the function “lmer” of the ”lme4” package developed by Mr. Douglas Bates, Mr. Martin Maechler and Mr. Ben Bolkeo. However, when I run the function” lmer”, I always obtain the error:
" Error in as(ff, "sparseMatrix") : unused argument(s) ("sparseMatrix")"

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 
Can you help me to solve this problem?
Thank you for the attention.
I am looking forward your answer.
Best regards,

Cristiana Vieira 		 	   		  
	[[alternative HTML version deleted]]


