I installed the xlsx package on rstudio and when I went to run the line, library(xlsx), I got this error:
library(xlsx)
Error: package or namespace load failed for ‘xlsx’:
.onLoad failed in loadNamespace() for 'xlsx', details:
call: fun(libname, pkgname)
error: Your java version is 14. Need 1.5.0 or higher.
I should also note that I am on Mac (fart* I know) and my version of java is the most recent. Any ideas or help would be appreciated... I am very new to this. Thanks!