I wanted to update R, so I went on to the CRAN website and downloaded 4.2.2.
I then proceeded to uninstall the 4.2.1 version, and since I did that I cannot open RStudio anymore.
I tried to uninstall and reinstall RStudio but nothing changed. I looked for some help on the linked website, but I honestly didn't understand any of it.
Can someone please help me with this?
Thank you so much.
R Session Startup Failure Report
RStudio Version
RStudio 2022.12.0+353 "Elsbeth Geranium " (7d165dcf, 2022-12-03) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
Error message
[No error available]
Process Output
The R session exited with code 3221225781.
Error output:
[No errors emitted]
Standard output:
[No output emitted]
Logs
C:/Users/Sara/AppData/Local/RStudio/log/rsession-Sara.log
2023-01-20T10:06:07.620910Z [rsession-Sara] ERROR system error 10053 (Connessione interrotta dal software del computer host) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:156; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:161
2023-01-21T09:33:07.671774Z [rsession-Sara] ERROR system error 10053 (Connessione interrotta dal software del computer host) [request-uri: /help/library/stats/html/factanal.html]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:156; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:161
2023-01-21T09:33:07.671774Z [rsession-Sara] ERROR system error 10053 (Connessione interrotta dal software del computer host) [request-uri: /help/library/stats/html/factanal.html]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:156; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) C:\Users\jenkins\workspace\ide\open-source-pipeline\elsbeth-geranium\src\cpp\session\http\SessionHttpConnectionImpl.hpp:161
EDIT - SOLVED:
I had to press and hold Ctrl while starting RStudio. It then automatically chose the R version present and started correctly.