R: rJava package install failing

后端 未结 17 1033
Happy的楠姐
Happy的楠姐 2020-11-22 16:28

When installing rJava using the install.packages(\"rJava\") command I get the following error:

checking Java support in R... present:
interprete         


        
17条回答
  •  悲哀的现实
    2020-11-22 16:50

    I tried to install openjdk-7-* but still I had problems installing rJava. Turns out after I restarted my computer, then there was no problem at all.

    so

    sudo apt-get install openjdk-7-*
    
    
    RESTART after installing java, then try to install package "rJava" in R
    

提交回复
热议问题