Search code examples
rrstudio

RStudio fails to open on Mac


When I want to open RStudio (RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf86, 2023-07-06) for macOS) on MacOS Ventura 13.4.1 I get the following error message:

Error Starting R

The R session failed to start.

RSTUDIO VERSION RStudio 2023.06.1+524 "Mountain Hydrangea " (547dcf86, 2023-07-06) for macOS

[No error available]

[No errors emitted]

OUTPUT

[No output emitted]

/Users/username/.local/share/rstudio/log/rsession-username.log
2023-07-12T14:21:27.894940Z [rsession-username] ERROR offlineConnectionMatcher: ignoring connection received in the future; LOGGED FROM: bool rstudio::session::offlineConnectionMatcher(boost::shared_ptr<HttpConnection>, std::chrono::steady_clock::time_point) src/cpp/session/SessionOfflineService.cpp:131
2023-07-12T14:21:27.895053Z [rsession-username] ERROR offlineConnectionMatcher: ignoring connection received in the future; LOGGED FROM: bool rstudio::session::offlineConnectionMatcher(boost::shared_ptr<HttpConnection>, std::chrono::steady_clock::time_point) src/cpp/session/SessionOfflineService.cpp:131
2023-07-12T14:21:27.895156Z [rsession-username] ERROR offlineConnectionMatcher: ignoring connection received in the future; LOGGED FROM: bool rstudio::session::offlineConnectionMatcher(boost::shared_ptr<HttpConnection>, std::chrono::steady_clock::time_point) src/cpp/session/SessionOfflineService.cpp:131

Solution

  • Go to this folder and delete it: ~/.local/share/rstudio

    You can follow the instructions here:

    https://support.posit.co/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State