Unable to load rJava on R

后端 未结 8 2017
野趣味
野趣味 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:35

    Faced similar error message.

    Tried a few steps listed here.

    1. Set Env. Variable, JAVA_HOME. => Didn't work.
    2. Tried to install rJava +> Didn't work Steps 3,4,5 worked..
    3. Updated my Java 64 bit version 8.xx (latest available)
    4. install.packages(rJava) ==> Success
    5. install.packages(RWeka) ==> Success
    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题