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

故事扮演 提交于 2019-12-01 05:34:31

问题


I'm trying to do LMM using lme4, and this message pops up:

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

What should I do?


回答1:


After a while, I got it.

1) Reinstall the latest version of Rcpp is the solution.

2) If you are not using lme4, but you also have this problem ("function 'dataptr' not provided by package 'Rcpp'") in combination with dyn.load(), it might be worth noting do not forget to include

library(Rcpp)

or

require(Rcpp)

on your code before

dyn.load("your_shared_lib.so")

Source: building_shared_libs_with_Rcpp



来源:https://stackoverflow.com/questions/21657575/what-does-this-mean-in-lme4-function-dataptr-not-provided-by-package-rcpp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!