无法加载 rcpp [英] Rcpp could not be loaded

查看:57
本文介绍了无法加载 rcpp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

知道为什么我在 R 中不断收到以下消息吗?

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

我已经尝试了所有方法,但似乎没有任何方法可以解决此问题.使用的机器不是我的,而是客户的.IT 有很多限制,他们有漫游配置文件.我安装了 32 位和 64 位,只有 32 位和 64 位但什么都没有.机器有 Windows 7 64 位.

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.

所以有什么想法吗?

推荐答案

这是 Rcpp 中的一个错误,它调用这个注册符号,好像它不是.问题是 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", ...)

应该

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

我在此处提交了一个问题.

这篇关于无法加载 rcpp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆