Can't install rJava 0.9 on Ubuntu 10.04

后端 未结 4 1984
遇见更好的自我
遇见更好的自我 2021-02-19 02:12

I use R 2.13 from the CRAN apt repo for Ubuntu 10.04, and I\'m trying to install Deducer, which requires JGR/rJava, but rJava refuses to build/install, complaining about being u

4条回答
  •  别跟我提以往
    2021-02-19 03:00

    DWright is right..an alternative instead export it every time than you start R is locate your java path

     sudo locate libjvm.so
    

    and add ir to ldpaths

     sudo gedit /etc/R/ldpaths 
    
    i.e 
    ${JAVA_HOME=/usr/java/jdk1.7.0_07/jre} 
    

提交回复
热议问题