While amending xlsx package (library) then the following error pops up. Can some one offer help ?

This is the error
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

I have the latest JAVA installed, rJava also installed but can't understand the problem

The xlsx package is not being able to detect your java runtime engine, the solution to this issue is system dependant so we are going to need more information to help you.
On which operating system are you? Which R version are you using? Which java version you have installed? Does your R and Java architectures match (32 or 64 bits)?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.