Description of issue -
As I open Rstudio it has asked me choose the version of R to be used. After choosing the version and clicking ok, it fails to open. Attempted steps taken to fix -
I have tried uninstalling and reinstalling both R and Rstudio. Also, I have removed the files that build up during startup. I cannot find .Rprofile file as told in " * Remove startup customizations such as an .Rprofile file, if present." Also, I have tried out the step described in Posit support Page " Resetting RStudio Desktop's State".
2025-02-18T06:57:08.148688Z [rsession-HP] ERROR system error 10013 (An attempt was made to access a socket in a way forbidden by its access permissions); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::http::initTcpIpAcceptor(class rstudio::core::http::SocketAcceptorService<class rstudio_boost::asio::ip::tcp> &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &) C:\Users\jenkins\workspace\ide-os-windows\rel-kousa-dogwood\src\cpp\core\include\core/http/TcpIpSocketUtils.hpp:150; LOGGED FROM: int __cdecl main(int,char *const []) C:\Users\jenkins\workspace\ide-os-windows\rel-kousa-dogwood\src\cpp\session\SessionMain.cpp:2404
2025-02-18T06:57:08.148688Z [rsession-HP] ERROR system error 10013 (An attempt was made to access a socket in a way forbidden by its access permissions); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::http::initTcpIpAcceptor(class rstudio::core::http::SocketAcceptorService<class rstudio_boost::asio::ip::tcp> &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &) C:\Users\jenkins\workspace\ide-os-windows\rel-kousa-dogwood\src\cpp\core\include\core/http/TcpIpSocketUtils.hpp:150; LOGGED FROM: int __cdecl main(int,char *const []) C:\Users\jenkins\workspace\ide-os-windows\rel-kousa-dogwood\src\cpp\session\SessionMain.cpp:2404
Was RStudio working on this compute prior to updating to 2024.12.1, or is this the first time you are trying RStudio on this computer?
The error message "An attempt was made to access a socket in a way forbidden by its access permissions" suggests a possible clash with some other software or perhaps your system's security software (firewall, etc.).
Have you tried rebooting Windows? Just in case something is hanging in the background and holding on to this resource. Unlikely but worth a try.
The previous version was working fine on this computer. Also, I have restarted windows multiple times, but unfortunately, nothing worked. Now, I have uninstalled the latest version and reinstalled the previous one to continue with my work.
I believe I have the same issue. Like Sherya, swapping back to the previous version resolved my problem. I was on version 2024.12.1 and am now on 2024.12.0. Restarting did not fix the problem.
Error output:
R Session Startup Failure Report
RStudio Version
RStudio 2024.12.1+563 "Kousa Dogwood " (27771613, 2025-02-02) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.12.1+563 Chrome/126.0.6478.234 Electron/31.7.7 Safari/537.36