I have R and Java installed on C:\Program Files. I am receiving this message when i try to load the rJava library. I have successfully installed the rJava package. thanks.
library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures. Error: package or namespace load failed for ‘rJava’