Rcpp无法加载 - Rcpp could not be loaded

- 此内容更新于:2016-02-24
主题:

知道为什么我继续下面的消息在R?我尝试了一切,似乎没有什么可以解决这个问题。这台机器不是我而是客户的使用。有很多限制和他们漫游配置文件。我安装了32位和64位,32位和64位,但什么都没有。这台机器拥有64位的Windows7。所以任何想法?

原文:

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?

网友:在是可疑的。这是只有一个下划线。Rcpp似乎并不正确。

(原文:The k in ckass__dummyInstance is suspicious. Also is this class_dummyInstance with only one underscore. It just seems that Rcpp was not correctly built.)

楼主:抱歉我输入这从远程机器我不能复制文本。它应该class_dummyInstance。

(原文:Sorry I typed this from the remote machine as I couldn't copy the text. It should be class_dummyInstance.)

网友:啊。这是一个错误在Rcpp,暗示这里。

(原文:Ah. This is a bug in Rcpp, signaled here.)

网友:有趣,将修复。现在错误逗乐了,即为什么不是问题吗?

(原文:Interesting, will fix. Now what tickled the bug here, ie why has not been an issue before?)

网友:我还是不明白这可能是逗笑了加载没有实际调用成员函数的错误。

(原文:I still don't understand how this could be tickled at loading without invoking the actual member function that had the bug.)

解决方案:
这是一个错误的调用这个好像没有注册标志。问题是new_dummyObject的定义:应该我提交一个问题。
原文:

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.

楼主:感谢。知道当你将能够释放一个新的构建?即使这是一个开发版本?

(原文:Thanks for this. Any idea when you will be able to release a new build? Even if it's a dev release?)