Yesterday, R Studio suddenly closed, and it didn't open again afterward. I could never figure out why. Even after uninstalling and reinstalling R, Rtools, and RStudio applications with the latest versions, it still doesn't open.
Additionally;
uninstalling RStudio and reinstalling
uninstall/reinstall of RStudio and R. (here I also tracked down any R related in AppData and deleted it)
uninstall / install downgrades of RStudio and R (back to 1.2.1335 and 3.6.2 respectively)
Checking for any permissions denial issues that could be coming from windows Defender
Mu error in below thanks a lot:
R Session Startup Failure Report
RStudio Version
RStudio 2023.09.2+508 "Desert Sunflower " (8696d2ab, 2023-12-14) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.09.2+508 Chrome/116.0.5845.190 Electron/26.2.4 Safari/537.36
Error message
[No error available]
Process Output
The R session exited with code 3221225477.
Error output:
[2020:6444:20231215,200642.680:ERROR directory_reader_win.cc:43] FindFirstFile: Sistem belirtilen yolu bu,lamıyor. (3)
Standard output:
[No output emitted]
Logs
C:/Users/Ece/AppData/Local/RStudio/log/rsession-Ece.log
2023-12-15T14:47:01.448562Z [rsession-Ece] ERROR system error 2 (Sistem belirtilen dosyayı bulamıyor) [path: C:/Program Files/RStudio/resources/app/R/Tools.R]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::r::SourceManager::sourceTools(const class rstudio::core::FilePath &) src/cpp/r/RSourceManager.cpp:45; LOGGED FROM: int __cdecl rstudio::r::session::RReadConsole(const char *,char *,int,int) src/cpp/r/session/RStdCallbacks.cpp:299
2023-12-15T14:47:01.448562Z [rsession-Ece] ERROR system error 2 (Sistem belirtilen dosyayı bulamıyor) [path: C:/Program Files/RStudio/resources/app/R/Tools.R]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::r::SourceManager::sourceTools(const class rstudio::core::FilePath &) src/cpp/r/RSourceManager.cpp:45; LOGGED FROM: int __cdecl rstudio::r::session::RReadConsole(const char *,char *,int,int) src/cpp/r/session/RStdCallbacks.cpp:299