All,
I'm having some issues installing RWeka. I am on IOS 10.12.1.
This error message is appearing:
installing the source package ‘RWeka’
trying URL 'https://cran.rstudio.com/src/contrib/RWeka_0.4-29.tar.gz'
Content type 'application/x-gzip' length 408921 bytes (399 KB)
==================================================
downloaded 399 KB
- installing source package ‘RWeka’ ...
** package ‘RWeka’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
JavaVM: requested Java version ((null)) not available. Using Java at "" instead.
JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib
JavaVM FATAL: Failed to load the jvm library.
Error : .onLoad failed in loadNamespace() for 'RWekajars', details:
call: .jinit()
error: JNI_GetCreatedJavaVMs returned -1
ERROR: lazy loading failed for package ‘RWeka’
- removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/RWeka’
Warning in install.packages :
installation of package ‘RWeka’ had non-zero exit status
I've done the following to try to remedy the issue:
- Re-installed rJava
- Updated to Java; jre - 8u111 (64bit)
- Downloaded the Java Developer Kit; jdk - 8u112 (64bit)
- Updated R to 3.3.2
- And tried this is Terminal; sudo R CMD javareconf... sudo R install.packages("RWeka")
- And restarted RStudio and did a restart of my iMac