Java version problem causing downloading packages failed in AlphienStudio

Hello,


I am currently bocked by downloading some packages in R due to the old java version(the same download works in Rstudio), please find below the details:

trying URL ‘https://cran.rstudio.com/src/contrib/RWeka_0.4-41.tar.gz
Content type ‘application/x-gzip’ length 415855 bytes (406 KB)

downloaded 406 KB

  • installing source package ‘RWekajars’ …
    ** package ‘RWekajars’ successfully unpacked and MD5 sums checked
    ./configure: 1: ./configure: /usr/lib/jvm/default-java/jre/bin/java: not found
    ./configure: 51: test: -ge: unexpected operator
    ./configure: 52: test: -eq: unexpected operator
    Need at least Java version 8.
    ERROR: configuration failed for package ‘RWekajars’
  • removing ‘/home/petitfort/R/x86_64-pc-linux-gnu-library/3.4/RWekajars’
    Warning in install.packages :
    installation of package ‘RWekajars’ had non-zero exit status
    ERROR: dependency ‘RWekajars’ is not available for package ‘RWeka’
  • removing ‘/home/petitfort/R/x86_64-pc-linux-gnu-library/3.4/RWeka’
    Warning in install.packages :
    installation of package ‘RWeka’ had non-zero exit status


Hi PetitFort,

I presume you want to install the RWeka package. We will firstly need to investigate whether this package can be installed on the platform, in particular from a security standpoint. If this is the case, we’ll install it for you in order to make sure dependencies are correctly setup.

In the meantime, please check in the right bottom panel of AlphienStudio in the “Packages” tab what packages are currently available to users; for machine learning, you can use caret, e1071, xgboost, randomforest and many more. Let us know if you need help getting started with them.

Thanks