Hi when I navigate in the file tab(the right bottom corner), R Studio always gives me "R Session Aborted: R encountered a fatal error. The session was terminated."
I tried to uninstall and reinstall R and R Studio a few times and even cleared the app data, but it still happens. Could someone help me with this?
This is my log file.
16 Aug 2020 14:11:21 [rsession-z9906] ERROR system error 10053 (你的主机中的软件中止了一个已建立的连接。) [request-uri: /events/get_events]; OCCURRED AT void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:113; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl::sendResponse(const class rstudio::core::http::Response &) src/cpp/session/http/SessionWin32HttpConnectionListener.cpp:118
The Chinese roughly means that a software in your computer stopped a connection that was already established. Please help me out! With a lot of appreciation!
It works perfectly fine when I type code in the terminal or open files using ctrl + o.
And here is RStudio Version section in my diagostic profile, dont know if it helps.
RStudio Version
1.3.1073
Session Information
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
I am also having this issue frequently when navigating around in the file tab.
Here is the log entry corresponding to the issue:
21 Aug 2020 16:18:45 [rsession-bjorna] 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
Here is an excerpt of my diagnostic report:
RStudio Version
--------------------------------------------------
1.3.1073
Session Information
--------------------------------------------------
R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RevoUtils_11.0.3 RevoUtilsMath_11.0.0
loaded via a namespace (and not attached):
[1] compiler_3.5.3 tools_3.5.3
Ditto. Fresh install of R 4.0.2 and RStudio 1.3.1073 on Windows 10, all patched up. Tried reinstalling both and restarting to no avail, but continually and quickly get the following when trying to navigate to my code directory in Files:
R Session Aborted
R encountered a fatal error
The session was terminated
Start New Session
UPDATE: One thing I did find was that a folder that triggered the error most consistently contained a folder named __MACOSX (extracted from a zip). As this is Windows and I didn't need it, I removed it, and it seems more stable (but not perfect). Just guessing it's related to filenames or directory properties that it reads.
This is not a solution, but perhaps a workaround. You may try avoiding directories containing "out of the ordinary" files or folders.
I am having this same problem with RStudio. Every time I go to the File tab in the lower right corner window, I get the following message:
"R Session Aborted
R encountered a fatal error.
The session was terminated."