Error Starting R i was not able to open r

R Session Startup Failure Report

RStudio Version

RStudio 2024.04.2+764 "Chocolate Cosmos " (e4392fc9, 2024-06-05) for windows

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.04.2+764 Chrome/120.0.6099.291 Electron/28.3.1 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 3221225477.

Error output:

[6748:11436:20240822,211246.359:ERROR directory_reader_win.cc:43] FindFirstFile: The system cannot find the path specified. (3)

Standard output:

[No output emitted]

Logs

C:/Users/kammi/AppData/Local/RStudio/log/rsession-kammi.log

URL 'https://www.rstudio.org/links/check_for_update?version=2023.12.1%2B402&os=windows&format=kvp': Timeout of 60 seconds was reached
Execution halted
]; OCCURRED AT void __cdecl rstudio::session::modules::updates::`anonymous-namespace'::endRPCUpdateCheck(const class rstudio_boost::function<void __cdecl(class rstudio::core::Error const &,class rstudio::core::json::JsonRpcResponse *)> &,const struct rstudio::core::system::ProcessResult &) C:\Users\jenkins\workspace\ide-os-windows\rel-ocean-storm\src\cpp\session\modules\SessionUpdates.cpp:143; LOGGED FROM: void __cdecl rstudio::session::modules::updates::`anonymous-namespace'::endRPCUpdateCheck(const class rstudio_boost::function<void __cdecl(class rstudio::core::Error const &,class rstudio::core::json::JsonRpcResponse *)> &,const struct rstudio::core::system::ProcessResult &) C:\Users\jenkins\workspace\ide-os-windows\rel-ocean-storm\src\cpp\session\modules\SessionUpdates.cpp:145

I suggest you start by confirming that you can run R from a command prompt. If that works, try resetting RStudio's state as described here and see if that solves the problem.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.