由于可能的Java问题而在RStudio中加载程序包时遇到问题?

时间:2019-04-05 00:37:42

标签: java r rstudio

我在RStudio中加载名为qdap的软件包时遇到问题。我从软件包安装程序中下载了它,然后放入:

    library(qdap) 

这是我收到的错误消息:

    Loading required package: qdapDictionaries
    Loading required package: qdapRegex
    Loading required package: qdapTools
    Loading required package: RColorBrewer
    Error: package or namespace load failed for ‘qdap’:
    .onLoad failed in loadNamespace() for 'rJava', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object  

'/ Library / Frameworks / R.framework / Versions / 3.5 / Resources / library / rJava / libs / rJava.so':   dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so,6):库未加载:/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents /首页/lib/server/libjvm.dylib   引用自:/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so   原因:找不到图片

由于某种原因,“对象”之后的其余错误消息未加载。无论如何,任何类型的输入将不胜感激。谢谢!

0 个答案:

没有答案