s-u / rJava

R to Java interface
https://RForge.net/rJava
235 stars 77 forks source link

configuration failed for package ‘rJava’ #295

Closed hofskatr closed 2 years ago

hofskatr commented 2 years ago

Hi, I'm having problems installing. Any help is appreciated.

Installing using: install.packages("rJava", repo="https://cran.R-project.org", configure.args="--disable-jri")

Error message: Installing package into '/home/kshofst/R/x86_64-pc-linux-gnu-library/4.0' (as 'lib' is unspecified) trying URL 'https://cran.R-project.org/src/contrib/rJava_1.0-6.tar.gz' content type 'application/x-gzip' length 1047062 (1022 KB)

================================================== downloaded 1022 KB

The downloaded source packages are in ‘/tmp/RtmpOJqRKy/downloaded_packages’

s-u commented 2 years ago

Please see the documentation - make sure you have installed JDK and configured R to use it.