RStudio IDE fails to start Mac OSX Sonoma

Having problems starting RStudio IDE on Mac OSX Sonoma on MacBook Pro M1 chip. R starts fine outside of RStudio IDE. Installed R-4.3.2 from CRAN after clearing out all R and RStudio related items - have followed the "Reset state" advice... Private Relay is OFF. Was working fine up until very recently, then left a session open and when I returned it showed the error below on restart.

R Session Startup Failure Report

RStudio Version

RStudio 2023.12.0+369 "Ocean Storm " (33206f75, 2023-12-17) for macOS

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.12.0+369 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 1.

Error output:

[No errors emitted]

Standard output:

[No output emitted]

Logs

/Users/mike/.local/share/rstudio/log/rsession-mike.log

2024-01-29T10:04:48.613937Z [rsession-mike] ERROR system error 49 (Can't assign requested address); OCCURRED AT rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(SocketAcceptorService<boost::asio::ip::tcp> &, const std::string &, const std::string &) src/cpp/session/http/SessionPosixHttpConnectionListener.cpp:146; LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2302
2024-01-29T10:30:16.336162Z [rsession-mike] ERROR system error 49 (Can't assign requested address); OCCURRED AT rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(SocketAcceptorService<boost::asio::ip::tcp> &, const std::string &, const std::string &) src/cpp/session/http/SessionPosixHttpConnectionListener.cpp:146; LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2302
2024-01-29T10:30:16.336162Z [rsession-mike] ERROR system error 49 (Can't assign requested address); OCCURRED AT rstudio::core::Error rstudio::core::http::initTcpIpAcceptor(SocketAcceptorService<boost::asio::ip::tcp> &, const std::string &, const std::string &) src/cpp/session/http/SessionPosixHttpConnectionListener.cpp:146; LOGGED FROM: int main(int, char *const *) src/cpp/session/SessionMain.cpp:2302

Fixed by going through hidden files and folders (ALT + SHIFT + . to hide/unhide hidden folders and files) and clearing out ~/.local/share/rstudio; ~/.config/rstudio; ~/.Rprofile etc. Then reinstalling RStudio IDE latest version.

Essentially following the advice at https://support.posit.co/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State but deleting all R config and startup files with prejudice.

This topic was automatically closed 7 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.