My RStudio keeps crashing when loading packages, particularly BiodiversityR and xlsx. I am using RStudio version 2022.02.2. I have also updated R and all my R Packages. I also reinstalled the packages that make RStudio crash but my problem persists. I loaded both these packages directly in R. But, i cannot load them in RStudio. Here's my 'sessionInfo':
version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base