my computer is windows system, 64 bit. I am trying to install rJava_0.9-8,RWeka_0.4-29 and RWekajars_3.9.0-1 from local to R, R version is R3.4.1 and R3.0.8. Here is my steps and errors:
I tried install zip files as follows: package ‘rJava’ successfully unpacked and MD5 sums checked
utils:::menuInstallLocal() package ‘RWeka’ successfully unpacked and MD5 sums checked utils:::menuInstallLocal() package ‘RWekajars’ successfully unpacked and MD5 sums checked
then I checked it as follows:
library(rJava) Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry library(RWeka) Error: package or namespace load failed for ‘RWeka’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry
I even tried another way as follows: install.packages("G:/Data mining/rJava_0.9-8", type="win.binary", repos=NULL) Installing package into ‘C:/Users/Ellen/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) Error in .zip.unpack(pkg, tmpDir) : zip file ‘G:/Data mining/rJava_0.9-8’ not found
Can anybody help me install these zip files? Thanks