Mac中RStudio安装XLConnectJars包出错

> library(XLConnect)
载入需要的程辑包:XLConnectJars
Error: package or namespace load failed for ‘XLConnectJars’:
 loadNamespace()里算'rJava'时.onLoad失败了,详细内容:
  调用: dyn.load(file, DLLpath = DLLpath, ...)
  错误: 无法载入共享目标对象‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so’::
  dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so
  Reason: image not found
错误: 无法载入程辑包‘XLConnectJars’
请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

包没有安装成功,重新安装一下:https://www.omicsclass.com/article/106

请先 登录 后评论