MacOS上的安装问题XLConnect包

时间:2017-11-25 02:14:22

标签: r rjava xlconnect

不成功我一直试图在R(和Rstudio)上使用XLConnect。显然安装了XLConnect,XLConnectJars和rJava但是在加载时出现以下错误:

library(XLConnect)
Loading required package: XLConnectJars
Error: package or namespace load failed for 'XLConnectJars':
.onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Users/JorgeEd/Library/R/3.4/library
/rJava/libs/rJava.so':
dlopen(/Users/JorgeEd/Library/R/3.4/library/rJava/libs/rJava.so, 6): Library
not loaded: @rpath/libjvm.dylib
Referenced from: /Users/JorgeEd/Library/R/3.4/library/rJava/libs/rJava.so
Reason: image not found
Error: package 'XLConnectJars' could not be loaded

尝试加载XLConnectrJava

时会出现类似的错误

有什么想法吗?

R version 3.4.2 (2017-09-28)

Platform: x86_64-apple-darwin15.6.0 (64-bit)

OS X - 10.11.6

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

0 个答案:

没有答案