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 code example
Example: rjava error
Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jre1.8.0_144')