rJava load error in RStudio/R after “upgrading” to OSX Yosemite

前端 未结 18 2086
Happy的楠姐
Happy的楠姐 2020-11-22 04:23

I recently \"upgraded\" from OSX Mountain Lion to Yosemite and from R 3.1.3 to 3.2. Immediately after the upgrade, when I opened R or RStudio I got a pop-up message saying t

18条回答
  •  迷失自我
    2020-11-22 04:58

    The image not found issue exists with a brand-new install on OSX High Sierra with the latest Java SE 10 JDK.

    I was able to solve the path issue with rJava using the fix found on the rJava Github issues page: https://github.com/s-u/rJava/issues/78

    R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers

提交回复
热议问题