error: unable to load installed packages just now

前端 未结 11 1929
没有蜡笔的小新
没有蜡笔的小新 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 22:03

    None of the above worked for me, the only solution that installed rJava on Linux Ubuntu without any problems was to pass RScript command after installation of the base R:

    $ sudo Rscript -e 'install.packages("rJava", repos = "http://cran.r-project.org/")'
    

提交回复
热议问题