Every time I try to save R markdown file RStudio closes with no warning or message

Every time I try to save .rmd file RStudio closes immediately. R Markdown here.

Here is my diagnostic report:

[1] "1.2.1335"

$R
[1] "C:\\PROGRA~1\\R\\R-36~1.1\\bin\\x64\\R.exe"

$pdflatex
[1] ""

$bibtex
[1] ""

$gcc
[1] ""

$git
[1] ""

$svn
[1] ""

R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1   

SysInfo:
       sysname        release        version       nodename        machine 
     "Windows"       "10 x64"  "build 18362"      "AREK-PC"       "x86-64" 
         login           user effective_user 
        "arek"         "arek"         "arek" 

R Version:
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          6.1                         
year           2019                        
month          07                          
day            05                          
svn rev        76782                       
language       R                           
version.string R version 3.6.1 (2019-07-05)
nickname       Action of the Toes          
$ALLUSERSPROFILE
[1] "C:\\ProgramData"

$APPDATA
[1] "C:\\Users\\arek\\AppData\\Roaming"

$asl.log
[1] "Destination=file"

$CLICOLOR_FORCE
[1] "1"

$CommonProgramFiles
[1] "C:\\Program Files\\Common Files"

$`CommonProgramFiles(x86)`
[1] "C:\\Program Files (x86)\\Common Files"

$CommonProgramW6432
[1] "C:\\Program Files\\Common Files"

$COMPUTERNAME
[1] "AREK-PC"

$ComSpec
[1] "C:\\WINDOWS\\system32\\cmd.exe"

$DISPLAY
[1] ":0"

$DriverData
[1] "C:\\Windows\\System32\\Drivers\\DriverData"

$ESET_OPTIONS
[1] "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               "

$FP_NO_HOST_CHECK
[1] "NO"

$FPS_BROWSER_APP_PROFILE_STRING
[1] "Internet Explorer"

$FPS_BROWSER_USER_PROFILE_STRING
[1] "Default"

$GFORTRAN_STDERR_UNIT
[1] "-1"

$GFORTRAN_STDOUT_UNIT
[1] "-1"

$HOME
[1] "C:/Users/arek/Documents"

$HOMEDRIVE
[1] "C:"

$HOMEPATH
[1] "\\Users\\arek"

$KINECTSDK20_DIR
[1] "C:\\Program Files\\Microsoft SDKs\\Kinect\\v2.0_1409\\"

$LOCALAPPDATA
[1] "C:\\Users\\arek\\AppData\\Local"

$LOGONSERVER
[1] "\\\\AREK-PC"

$MSYS2_ENV_CONV_EXCL
[1] "R_ARCH"

$NUMBER_OF_PROCESSORS
[1] "4"

$OneDrive
[1] "C:\\Users\\arek\\OneDrive"

$OS
[1] "Windows_NT"

$PATH
[1] "C:\\Program Files\\R\\R-3.6.1\\bin\\x64;C:\\Program Files\\Common Files\\Microsoft Shared\\Microsoft Online Services;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Microsoft Online Services;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files\\Mplus;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Predictive Solutions\\PS IMAGO PRO\\4\\IBM\\SPSS\\Statistics\\24\\JRE\\bin;C:\\Program Files\\Predictive Solutions\\PS IMAGO PRO\\4\\Designer;C:\\Program Files\\Predictive Solutions\\PS IMAGO PRO\\4\\Process;C:\\Program Files\\MATLAB\\MATLAB Compiler Runtime\\v83\\runtime\\win64;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;%USERPROFILE%\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\arek\\AppData\\Local\\Programs\\MiKTeX 2.9\\miktex\\bin\\x64\\;"

$PATHEXT
[1] ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"

$PROCESSOR_ARCHITECTURE
[1] "AMD64"

$PROCESSOR_IDENTIFIER
[1] "Intel64 Family 6 Model 61 Stepping 4, GenuineIntel"

$PROCESSOR_LEVEL
[1] "6"

$PROCESSOR_REVISION
[1] "3d04"

$ProgramData
[1] "C:\\ProgramData"

$ProgramFiles
[1] "C:\\Program Files"

$`ProgramFiles(x86)`
[1] "C:\\Program Files (x86)"

$ProgramW6432
[1] "C:\\Program Files"

$PSModulePath
[1] "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\"

$PUBLIC
[1] "C:\\Users\\Public"

$QT_D3DCREATE_MULTITHREADED
[1] "1"

$R_ARCH
[1] "/x64"

$R_COMPILED_BY
[1] "gcc 4.9.3"

$R_DOC_DIR
[1] "C:/PROGRA~1/R/R-36~1.1/doc"

$R_HOME
[1] "C:/PROGRA~1/R/R-36~1.1"

$R_LIBS_USER
[1] "C:/Users/arek/Documents/R/win-library/3.6"

$R_USER
[1] "C:/Users/arek/Documents"

$RMARKDOWN_MATHJAX_PATH
[1] "C:/Program Files/RStudio/resources/mathjax-26"

$RS_LOCAL_PEER
[1] "\\\\.\\pipe\\8874-rsession"

$RS_RPOSTBACK_PATH
[1] "C:/Program Files/RStudio/bin/rpostback"

$RS_SHARED_SECRET
[1] "63341846741"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "80"

$RSTUDIO_MSYS_SSH
[1] "C:/Program Files/RStudio/bin/msys-ssh-1000-18"

$RSTUDIO_PANDOC
[1] "C:/Program Files/RStudio/bin/pandoc"

$RSTUDIO_SESSION_PORT
[1] "8874"

$RSTUDIO_USER_IDENTITY
[1] "arek"

$RSTUDIO_WINUTILS
[1] "C:/Program Files/RStudio/bin/winutils"

$SESSIONNAME
[1] "Console"

$SystemDrive
[1] "C:"

$SystemRoot
[1] "C:\\WINDOWS"

$TEMP
[1] "C:\\Users\\arek\\AppData\\Local\\Temp"

$TERM
[1] "xterm-256color"

$TMP
[1] "C:\\Users\\arek\\AppData\\Local\\Temp"

$UOIPME_REG_PATH
[1] "C:\\Program Files\\Intel Corporation\\USB over IP"

$USERDOMAIN
[1] "arek-PC"

$USERDOMAIN_ROAMINGPROFILE
[1] "arek-PC"

$USERNAME
[1] "arek"

$USERPROFILE
[1] "C:\\Users\\arek"

$windir
[1] "C:\\WINDOWS"

$windows_tracing_flags
[1] "3"

$windows_tracing_logfile
[1] "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log"

 [1] ".GlobalEnv"        "tools:rstudio"     "package:stats"    
 [4] "package:graphics"  "package:grDevices" "package:utils"    
 [7] "package:datasets"  "package:methods"   "Autoloads"        
[10] "package:base"     
Log file: rdesktop.log
--------------------------------------------------


03 Sep 2019 17:17:29 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_4cc4d0df19b92db780de6d80571f943a>::operator ()(class QVariant) const c:\jenkins\workspace\ide\windows-v1.2\src\cpp\desktop\desktopmainwindow.cpp:281

Log file: rsession-arek.log
--------------------------------------------------

03 Sep 2019 17:40:41 [rsession-arek] 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 &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:111; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:116
03 Sep 2019 17:42:21 [rsession-arek] 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 &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:111; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:116
03 Sep 2019 17:50:19 [rsession-arek] 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 &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:111; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:116
03 Sep 2019 17:54:43 [rsession-arek] 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 &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:111; LOGGED FROM: void __cdecl rstudio::session::HttpConnectionImpl<class rstudio_boost::asio::ip::tcp>::sendResponse(const class rstudio::core::http::Response &) c:\jenkins\workspace\ide\windows-v1.2\src\cpp\session\http\sessionhttpconnectionimpl.hpp:116

I used this solution (RStudio v1.2.1335 crashes on File>Open or File>Save (Windows 7 Pro)), i.e. I removed my dell backup software and it seems to be fine.
Arek

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.