rJava install error “JAVA_HOME cannot be determined from the Registry”

后端 未结 9 875
独厮守ぢ
独厮守ぢ 2020-11-30 04:57

I am trying to load the rJava using the command:

 library(rJava)

But I get the following error:

 Error : .onLoad failed i         


        
9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 05:09

    R for Windows installer installs by default both 32-bit and 64-bit files. Reinstalling R and unticking 32-bit part solved the problem for me.

提交回复
热议问题