Issue with installed Rweka package

Hi there,

I have been receiving error messages about a installed package Rweka.

Error: package or namespace load failed for ‘RWeka’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/lib/server/libjvm.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/
Reason: image not found

The background of the OS is macOS High Sierra, RStudio Version 1.1.456, R version 3.5.1. With the previous error I have installed the rJava package and the JRE version 10.0.2.
Additionally, I have also ran this code

sudo R CMD javareconf

as suggested here.

I would greatly appreciate for any suggestions that will resolve this issue.
Thank you,

5 posts were merged into an existing topic: Library(xlsx) results in error on R Studio