Unable to load rJava on R

后端 未结 8 2077
野趣味
野趣味 2020-11-27 05:14

I wish to load rJava in R x64 3.1.2. OS- Windows 8.1 64 bit

Though installation seems to work fine:

  > install.packages(\"rJava\")
    Installing         


        
8条回答
  •  心在旅途
    2020-11-27 05:37

    It is probably the issue with the setting with the JAVA_HOME pointer. In case you do not have JDK but JRE, here is you might have to do: Sys.setenv(JAVA_HOME='C:\Program Files\Java\jre1.8.0_161')

    Remember to change the numbers after "jre" based on what you have on your computer. Here is a link that explains the difference between JDK and JRE.

提交回复
热议问题