When I try to load package "xlsx" in RStudio it crashes with "R session aborted, R encountered a fatal error".
I am running:
Windows 10 21H2
RStudio 2022.02.2 Build 485
xlsx package 0.6.5
I am starting RStudio with a clean environment, and when I try
library(xlsx) in R it works fine.
library(rJava) also works in RStudio.
Any ideas where I should start looking for the error?