R: rJava package install failing

后端 未结 17 1182
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:51

    Thanks - your suggestion about $JAVA_HOME lead me to a similar solution:

    prompt$ unset JAVA_HOME
    

    before invoking R.

提交回复
热议问题