What does this mean in lme4: the 'dataptr' function is not provided by the 'Rcpp' package

I am trying to do LMM using lme4 and this message appears:

Error in initializePtr (): Function 'dataptr' is not provided by package 'Rcpp'

What should I do?

+4
source share
1 answer

After a while I received it.

1) Restyling the latest version of Rcpp is a solution.

2) If you are not using lme4, but you also have this problem (a "dataptr function" not provided by the "Rcpp" package) in combination with dyn.load (), it’s worth noting, do not forget to enable

Library (Rcpp)

or

required (rcpp)

in your code before

dyn.load ("your_shared_lib.so")

: building_shared_libs_with_Rcpp

+3

Source: https://habr.com/ru/post/1526012/


All Articles