R crashes when opening RStudio

R session crashes about 50% of the times I launch RStudio, or open a project. The log is the following:

25 Jan 2019 09:45:19 [rdesktop] ERROR system error 2 (The system cannot find the file specified); OCCURRED AT: virtual void rstudio::core::http::NamedPipeAsyncClient::connectAndWriteRequest() C:/Users/Administrator/rstudio/src/cpp/core/include/core/http/NamedPipeAsyncClient.hpp:84; LOGGED FROM: void rstudio:: desktop::NetworkReply::onError(const rstudio::core::Error&) C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopNetworkReply.cpp:288

My environment is :

  • Windows 7
  • R 3.4.0 64 bit
  • RStudio 1.0.143
    This is a corporate PC and I cannot upgrade R or RStudio,

I have reinstalled R and RStudio, but the problem remains.

I'm not sure if this is related, but I noticed that the rstudio.exe *32 process never stops after closing RStudio.

What antivirus/firewalls are you running on your computer?

Also, can you try moving this folder somewhere else (don't delete, just move elsewhere to test, and then bring it back): %USERPROFILE%\AppData\Local\RStudio-Desktop

Also, have you tried killing the process completely (you say the process doesn't stop)? Does it help if you manually force quit it?
Are you an admin on your machine?

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