Skip to content

lme4 problem solved by updating Rcpp

2 messages · Hugo Quené, Ben Bolker

#
Dear list members,

Since a few days I've had difficulties in using lme4_1.0-6 (CRAN binary 
version) on a MacBook8,1.
My call to lmer() resulted in an error message:

 > (fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy))
Error in initializePtr() :
   function 'dataptr' not provided by package 'Rcpp'

A repeated call of lmer() caused R to crash entirely.

As it turned out, this problem disappeared after I updated package Rcpp 
from version Rcpp_0.10.6 to Rcpp_0.11.0 (CRAN binaries). When lme4 was 
installed it did warn about an obsolete version of the Matrix package, 
but it did not complain about the Rcpp package. Hence the solution to 
update Rcpp might be useful to have in the list archive, for others 
experiencing similar problems.

With kind regards, Hugo Quen?
1 day later