I have been using RStudio for a while. Most recently I tried opening RStudio and it says it encountered a fatal error. The session has been terminated. It won't start and I can't work on it. I read in previous posts it could be due to .RData being loaded every time RStudio starts. I deleted all my .RData files and RStudio still won't start. Attached is the problem report. Any help would be greatly appreciated.
R Session Startup Failure Report
RStudio Version
RStudio 2023.06.0+421 "Mountain Hydrangea " (583b465e, 2023-06-05) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.06.0+421 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36
Error message
[No error available]
Process Output
The R session exited with code 1.
Error output:
[No errors emitted]
Standard output:
[No output emitted]
Logs
) [errormsg: Error in exists(cacheKey, where = .rs.CachedDataEnv, inherits = FALSE) :
invalid first argument
]; OCCURRED AT rstudio::core::Error rstudio::r::exec::(anonymous namespace)::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::(anonymous namespace)::EvalType) src/cpp/r/RExec.cpp:228; LOGGED FROM: rstudio::core::Error rstudio::session::modules::data::viewer::(anonymous namespace)::getGridData(const http::Request &, http::Response *) src/cpp/session/modules/data/DataViewer.cpp:870