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

前端 未结 18 1849
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:52

    I had the same problem and went through the same steps as you. The final step to allow starting RStudio through Finder/Spotlight was to link libjvm.dylib to /usr/local/lib:

    sudo ln -f -s $(/usr/libexec/java_home)/jre/lib/server/libjvm.dylib /usr/local/lib
    

    -f flag is added to force overwriting existing file/link

提交回复
热议问题