error: No CurrentVersion entry in Software/JavaSoft registry!
error: No CurrentVersion entry in Software/JavaSoft registry!. When receiving the following problem while trying to install package xlxs in R. Error: package or namespace load failed for ‘xlsx’: .onLoad failed in loadNamespace() for ‘rJava’,...