JGR and Rjava on OSX Error RRS feed

  • Question

  • I am trying to load JGR on R version 3.4.1 GUI 1.70 El Capitan build (7375)  and get the following error when I try to load the package: 

    Loading required package: rJava Error: package or namespace load failed for ‘rJava’: .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.4/Resources/library/rJava/libs/': dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/, 6): Library not loaded: @rpath/libjvm.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/libs/ Reason: image not found Error: package ‘rJava’ could not be loaded In addition: Warning message: running command '/usr/libexec/java_home' had status 1 Unable to find any JVMs matching version "(null)". No Java runtime present, try --request to install.

    I am running OSX 10.11.6 and have installed JRE 8 U 144 (build 1.8.0_144-b01).

    Please advise.

    Saturday, August 26, 2017 1:33 PM