Since the newest version of xlsx
is still in source format I used
install.packages("xlsx", type = "source")
I have encountered the following issue when intalling xlsx.
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/.../R-3.5.0/library/rJava/libs/i386/rJava.dll':
LoadLibrary failure: The specified module could not be found.
Since I do not have the admin access I have manually set my java path
Sys.setenv(JAVA_HOME='C:/Program Files (x86)/Java/jre8/bin/')
Can the reason be the fact that I have 64bit OS but R and java are both 32bit?