I have recently upgraded both RStudio and base R (latest versions). Seems to have solved most issues but trying to launch the package XLConnect causes RStudio to crash. Works fine in Base R:
Session-info:
R 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=Swedish_Finland.1252 LC_CTYPE=Swedish_Finland.1252 LC_MONETARY=Swedish_Finland.1252 LC_NUMERIC=C LC_TIME=Swedish_Finland.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] data.table_1.14.2 RODBC_1.3-19
loaded via a namespace (and not attached):
[1] compiler_4.2.0 tools_4.2.0