I updated my Rstudio to the following It was fine.
But now, it keeps crashing. I don't do anything unusual. It keeps crashing after there is some simple errors with the code (when library is not loaded etc.). Or just randomly while staying idle for a few minutes. Now, I cannot work more than three minutes without Rstudio crashing.
It may be that "Alt+tab" from Rstudio to other apps is causing it.
R version 4.2.3 (2023-03-15 ucrt) -- "Shortstop Beagle"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
RStudio 2023.05.0-daily+304 "Mountain Hydrangea" Daily (45f8b24ac36cd2a382efdf347c40553241c9c8e2, 2023-04-27) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.05.0-daily+304 Chrome/110.0.5481.208 Electron/23.2.4 Safari/537.36