Hello, I was able to successfully install the XLConnect package but I'm getting an error message when I tried to load the package. I am new to learning R and I will really appreciate some assistance. Below is the code chunk of the error message I'm getting (FYI: I also tried installing XLConnectJars with a previous attempt but loading the packages still is not working). Thank you in advance for taking the time to review and respond to my request.
Error Message:
Loading required package: XLConnectJars
Error: package or namespace load failed for ‘XLConnectJars’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Error: package ‘XLConnectJars’ could not be loaded