I am getting this message and not able to start RStudio

R Session Startup Failure Report

RStudio Version

RStudio 1.4.1717, "Juliet Rose" (df86b69e, 2021-05-24) for Windows

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36

Error message

[No error available]

Process Output

The R session exited with code 10.

Error output:

[No errors emitted]

Standard output:

[No output emitted]

Logs

C:/Users/mj/AppData/Local/RStudio/log/rsession-mj.log

28 Aug 2021 04:38:10 [rsession-mj] ERROR interprocess error 7 (Not found error) [lock-file: C:/Users/mj/AppData/Local/RStudio/notebooks/lock_file]; OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::AdvisoryFileLock::acquire(const class rstudio::core::FilePath &) src/cpp/core/file_lock/AdvisoryFileLock.cpp:136; LOGGED FROM: void __cdecl rstudio::session::modules::rmarkdown::notebook::`anonymous-namespace'::cleanUnusedCaches(void) src/cpp/session/modules/rmarkdown/NotebookCache.cpp:102
28 Aug 2021 12:40:00 [rsession-mj] ERROR system error 10053 (An established connection was aborted by the software in your host machine) [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 &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118
28 Aug 2021 12:47:50 [rsession-mj] ERROR system error 10053 (An established connection was aborted by the software in your host machine) [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 &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118

An established connection was aborted by the software in your host machine

Very likely this is caused by antivirus software. If you're running any, can you add exclusions for rstudio.exe and rsession.exe?