error: unable to load installed packages just now

前端 未结 11 1985
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 21:17

When I tried to run the R console in Eclipse, I got this error:

....Please make sure that R package \'rj\' (1.1 or compatible) is installed...
11条回答
  •  感动是毒
    2020-11-30 21:55

    This fixes the LD_LIBRARY_PATH problem for me (Linux, Debian 7.1.0, tc-shell, R version 3.0.2):

    Add this line to .cshrc:

    setenv LD_LIBRARY_PATH $JAVA_HOME/jre/lib/amd64:$JAVA_HOME/jre/lib/amd64/server

    Adding this command to ~/.login was not enough; the environment variable LD_LIBRARY_PATH was still not known in new xterms: echo $LD_LIBRARY_PATH : LD_LIBRARY_PATH: Undefined variable. (Why??)

    Curiously, when starting R as superuser, there was no problem with finding libjvm.so .

提交回复
热议问题