Rcpp could not be loaded

喜夏-厌秋 提交于 2019-12-25 00:36:01

问题


Any idea why I keep getting the message below in R?

Error : .onLoad failed in loadNamespace() for 'Rcpp', details:
    call: .External("class__dummyInstance", ...)
    error: C symbol name "class_dummyInstance" not in load table
Error: package 'Rcpp' could not be loaded

I have tried everything and it seems that nothing can fix this problem. The machine used is not mine but a client's. There are a lot of restrictions from IT and they have roaming profiles. I installed the 32-bit and 64-bit, just the 32-bit and just the 64-bit but nothing. The machine has Windows 7 64-bit.

So any ideas?


回答1:


This is a bug in Rcpp that calls this registered symbol as if it was not. The problem is the definition of new_dummyObject:

new_dummyObject <- function(...)
    .External( "class__dummyInstance", ...)

should be

new_dummyObject <- function(...)
    .External( class__dummyInstance, ...)

I submitted an issue here.



来源:https://stackoverflow.com/questions/23831109/rcpp-could-not-be-loaded

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