相关疑难解决方法(0)

你如何改变R中的图书馆位置?

由于新的R 2.11版本,我想在这里实现Dirk的建议.

所以我要问 - 我怎样(永久)改变R的库路径?(最好的解决方案是可以在R内运行的解决方案)

installation r

29
推荐指数
3
解决办法
12万
查看次数

在 R 中找不到指定的模块

我正在使用 Rcpp 和另一个第三方 C++ 库开发一个包。当我尝试安装软件包时,我得到了

Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  unable to load shared object 'C:/Users/Admin/Documents/R/win-library/2.15/packagename/libs/i386/package.dll':
   LoadLibrary failure:  The specified module could not be found.
Run Code Online (Sandbox Code Playgroud)

在 32 位 Windows 操作系统中,根据我同事的建议,我通过将来自 MingW 的以下 dll 的位置添加到系统路径来解决该问题。

libgcc_s_dw2-1.dll
Run Code Online (Sandbox Code Playgroud)

但是在 64 位 Windows 上,尽管我使用的是 32 位 R,但即使使用 dll 也会出现相同的错误。

所以我的问题:

有没有办法知道为什么The specified module could not be found会发生错误?我的意思是我想知道缺少哪个模块。也许冗长的选项在哪里?

r rcpp

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

r ×2

installation ×1

rcpp ×1