命名空间安装rJava的问题

时间:2010-10-29 18:57:55

标签: r package

我正在64位计算机上安装rJava,运行Windows XP,并且遇到了最奇怪的消息。以下是日志。谁看过这个吗?提前谢谢。

 > install.packages("rJava")
    --- Please select a CRAN mirror for use in this session ---
    trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/rJava_0.8-8.zip'
    Content type 'application/zip' length 636680 bytes (621 Kb)
    opened URL
    downloaded 621 Kb


The downloaded packages are in
        C:\Documents and Settings\wdeng\Local Settings\Temp\RtmpYb4lzb\downloaded_packages
> library("rJava")
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/PROGRA~1/R/R-212~1.0/library/rJava/libs/x64/rJava.dll':
  LoadLibrary failure:  The specified module could not be found.


Error: package/namespace load failed for 'rJava' 

2 个答案:

答案 0 :(得分:1)

看起来像花园式二元不兼容我。

NAMESPACE是一个红色的鲱鱼,因为它碰巧加载了动态库,而这就是问题所在。

答案 1 :(得分:0)

DLL文件是否存在于该路径中?如果确实如此,那可能是它缺少的依赖之一。请尝试http://www.dependencywalker.com/来确定哪一个。

之后......?