You'll probably end up hacking about to get it working. ![]() The document "R, Java, rJava and macOS adventures" isn't complete and doesn't work off the cuff. ![]() ![]() I'd appreciate some assistance.įollowing the link provided in the comments below, I managed to get the latest version of Java JDK running through rJava in RStudio. I've clearly missed the rJava instructions somewhere which lays out how to install the package on all computer setups. I've tried setting my Java home path to: Sys.setenv(JAVA_HOME='/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home') Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so )Įrror: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so':ĭlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib onLoad failed in loadNamespace() for 'rJava', details:Ĭall: dyn.load(file, DLLpath = DLLpath. I am using the latest Mac OS x, with a build of Rstudio that's only a couple of months old, and I've just installed JDK 圆4 12.0.1Įrror: package or namespace load failed for ‘rJava’: Although I'm running the risk of duplicating questions, I have yet to find a solution to my configuration.
0 Comments
Leave a Reply. |