JAVA_HOME cannot be determined error with XLConnect
问题 I'd apreciate your help: i'm trying to run XLconnect but I receive this error message: > library("XLConnect", lib.loc="C:/Users/1144143929/Documents/R/win-library/2.15") Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: package/namespace load failed for ‘XLConnect’ 回答1: Another point to check is that if your version of R is 32 byte, so must your Java version. Or, 64 byte must match 64 byte