I am getting the following error while trying to load xlsx package.
library(xlsx) Error: package or namespace load failed for ‘xlsx’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry
Can any one please help me with this. I am stuck in this since last two days.
After I installed the package it was installed in user library. I pasted the same at the R library location so that it might take the package from that location but it dint worked.
library(xlsx) Error: package or namespace load failed for ‘xlsx’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry