I am a begginer in R and I want to know what to do in order to download the xlsx package in order to use the function read.xlsx. Every time I write library(xlsx) I get this answer:
Error: package or namespace load failed for ‘xlsx’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
Thanks for your help.