RStudio crashing when navigating through file explorer (system error 10053)

RStudio Diagnostics Report

WARNING: This report may contain sensitive security information and / or
personally identifiable information. Please audit the below and redact any
sensitive information before submitting your diagnostics report.

Generated: Tue Aug 25 13:14:06 2020

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 19041)

Matrix products: default

locale:
[1] LC_COLLATE=Russian_Russia.1251 LC_CTYPE=Russian_Russia.1251
[3] LC_MONETARY=Russian_Russia.1251 LC_NUMERIC=C
[5] LC_TIME=Russian_Russia.1251

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

loaded via a namespace (and not attached):
[1] compiler_4.0.2 tools_4.0.2

System Information

sysname : Windows
release : 10 x64
version : build 19041
nodename : XXXXX
machine : x86-64
login : XXXXX
user : XXXXX
effective_user : XXXXX

Platform Information

OS.type : windows
file.sep : /
dynlib.ext : .dll
GUI : Rgui
endian : little
pkgType : win.binary
path.sep : ;
r_arch : x64

Environment Variables

ALLUSERSPROFILE : C:\ProgramData
APPDATA : C:\Users\XXXXX\AppData\Roaming
CLICOLOR_FORCE : 1
CMD : C:\Program Files\CMD
CommonProgramFiles : C:\Program Files\Common Files
CommonProgramFiles(x86) : C:\Program Files (x86)\Common Files
CommonProgramW6432 : C:\Program Files\Common Files
COMPUTERNAME : XXXXX
ComSpec : C:\WINDOWS\system32\cmd.exe
DriverData : C:\Windows\System32\Drivers\DriverData
GFORTRAN_STDERR_UNIT : -1
GFORTRAN_STDOUT_UNIT : -1
HOME : C:\Users\XXXXX\Documents
HOMEDRIVE : C:
HOMEPATH : \Users\XXXXX
LOCALAPPDATA : C:\Users\XXXXX\AppData\Local
LOGONSERVER : \DCSRV03
MSYS2_ENV_CONV_EXCL : R_ARCH
NUMBER_OF_PROCESSORS : 8
OneDrive : C:\Users\XXXXX\OneDrive
OS : Windows_NT
PATH : C:\Program Files\R\R-4.0.2\bin\x64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files\MEGA-X;C:\Users\XXXXX\AppData\Local\Microsoft\WindowsApps;
PATHEXT : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE : AMD64
PROCESSOR_IDENTIFIER : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
PROCESSOR_LEVEL : 6
PROCESSOR_REVISION : 9e09
ProgramData : C:\ProgramData
ProgramFiles : C:\Program Files
ProgramFiles(x86) : C:\Program Files (x86)
ProgramW6432 : C:\Program Files
PROMPT : $P$G
PSModulePath : C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC : C:\Users\Public
QT_D3DCREATE_MULTITHREADED : 1
R_ARCH : /x64
R_COMPILED_BY : gcc 8.3.0
R_DOC_DIR : C:/PROGRA~1/R/R-40~1.2/doc
R_HOME : C:/PROGRA~1/R/R-40~1.2
R_LIBS_USER : C:/Users/XXXXX/Documents/R/win-library/4.0
R_USER : C:/Users/XXXXX/Documents
RMARKDOWN_MATHJAX_PATH : C:/Program Files/RStudio/resources/mathjax-27
RS_LOCAL_PEER : \.\pipe\33787-rsession
RS_RPOSTBACK_PATH : C:/Program Files/RStudio/bin/rpostback
RS_SHARED_SECRET : *** redacted ***
RSTUDIO : 1
RSTUDIO_CONSOLE_COLOR : 256
RSTUDIO_CONSOLE_WIDTH : 80
RSTUDIO_MSYS_SSH : C:/Program Files/RStudio/bin/msys-ssh-1000-18
RSTUDIO_PANDOC : C:/Program Files/RStudio/bin/pandoc
RSTUDIO_PROGRAM_MODE : desktop
RSTUDIO_SESSION_PORT : 33787
RSTUDIO_USER_IDENTITY : vit1234
RSTUDIO_WINUTILS : C:/Program Files/RStudio/bin/winutils
RTOOLS40_HOME : C:\rtools40
SESSIONNAME : Console
SystemDrive : C:
SystemRoot : C:\WINDOWS
TEMP : C:\Users\XXXXX\AppData\Local\Temp
TERM : xterm-256color
TMP : C:\Users\XXXXX\AppData\Local\Temp
USERDNSDOMAIN : PCR.INT
USERDOMAIN : PCR_INT
USERDOMAIN_ROAMINGPROFILE : PCR_INT
USERNAME : *** redacted ***
USERPROFILE : C:\Users\XXXXX
windir : C:\WINDOWS

R Version

platform : x86_64-w64-mingw32
arch : x86_64
os : mingw32
system : x86_64, mingw32
status :
major : 4
minor : 0.2
year : 2020
month : 06
day : 22
svn rev : 78730
language : R
version.string : R version 4.0.2 (2020-06-22)
nickname : Taking Off Again

R Home

C:/PROGRA~1/R/R-40~1.2

R Search Path

.GlobalEnv
tools:rstudio
package:stats
package:graphics
package:grDevices
package:utils
package:datasets
package:methods
Autoloads
package:base

R Library Paths

C:/Users/XXXXX/Documents/R/win-library/4.0
C:/Program Files/R/R-4.0.2/library

Loaded Packages

base : C:/PROGRA~1/R/R-40~1.2/library/base
compiler : C:/Program Files/R/R-4.0.2/library/compiler
datasets : C:/Program Files/R/R-4.0.2/library/datasets
graphics : C:/Program Files/R/R-4.0.2/library/graphics
grDevices : C:/Program Files/R/R-4.0.2/library/grDevices
methods : C:/Program Files/R/R-4.0.2/library/methods
stats : C:/Program Files/R/R-4.0.2/library/stats
tools : C:/Program Files/R/R-4.0.2/library/tools
utils : C:/Program Files/R/R-4.0.2/library/utils

R System Profile: C:/PROGRA~1/R/R-40~1.2/library/base/R/Rprofile

This is the system Rprofile file. It is always run on startup.

Additional commands can be placed in site or user Rprofile files

(see ?Rprofile).

Copyright (C) 1995-2015 The R Core Team

Notice that it is a bad idea to use this file as a template for

personal startup files, since things will be executed twice and in

the wrong environment (user profiles are run in .GlobalEnv).

.GlobalEnv <- globalenv()
attach(NULL, name = "Autoloads")
.AutoloadEnv <- as.environment(2)
assign(".Autoloaded", NULL, envir = .AutoloadEnv)
T <- TRUE
F <- FALSE
R.version <- structure(R.Version(), class = "simple.list")
version <- R.version # for S compatibility

for backwards compatibility only

R.version.string <- R.version$version.string

NOTA BENE: options() for non-base package functionality are in places like

--------- ../utils/R/zzz.R

options(keep.source = interactive())
options(warn = 0)

options(repos = c(CRAN="@CRAN@"))

options(BIOC = "http://www.bioconductor.org")

options(timeout = 60)
options(encoding = "native.enc")
options(show.error.messages = TRUE)

keep in sync with PrintDefaults() in ../../main/print.c :

options(scipen = 0)
options(max.print = 99999)# max. #{entries} in internal printMatrix()
options(add.smooth = TRUE)# currently only used in 'plot.lm'

if(isFALSE(as.logical(Sys.getenv("R_OPTIONS_STRINGS_AS_FACTORS",
"FALSE")))) {
options(stringsAsFactors = FALSE)
} else {
options(stringsAsFactors = TRUE)
}

if(!interactive() && is.null(getOption("showErrorCalls")))
options(showErrorCalls = TRUE)

local({dp <- Sys.getenv("R_DEFAULT_PACKAGES")
if(identical(dp, "")) ## it fact methods is done first
dp <- c("datasets", "utils", "grDevices", "graphics",
"stats", "methods")
else if(identical(dp, "NULL")) dp <- character(0)
else dp <- strsplit(dp, ",")[[1]]
dp <- sub("[[:blank:]]*([[:alnum:]]+)", "\1", dp) # strip whitespace
options(defaultPackages = dp)
})

Expand R_LIBS_* environment variables.

Sys.setenv(R_LIBS_SITE =
.expand_R_libs_env_var(Sys.getenv("R_LIBS_SITE")))
Sys.setenv(R_LIBS_USER =
.expand_R_libs_env_var(Sys.getenv("R_LIBS_USER")))

local({
if(nzchar(tl <- Sys.getenv("R_SESSION_TIME_LIMIT_CPU")))
setSessionTimeLimit(cpu = tl)
if(nzchar(tl <- Sys.getenv("R_SESSION_TIME_LIMIT_ELAPSED")))
setSessionTimeLimit(elapsed = tl)
})

.First.sys <- function()
{
for(pkg in getOption("defaultPackages")) {
res <- require(pkg, quietly = TRUE, warn.conflicts = FALSE,
character.only = TRUE)
if(!res)
warning(gettextf('package %s in options("defaultPackages") was not found', sQuote(pkg)),
call. = FALSE, domain = NA)
}
}

called at C level in the startup process prior to .First.sys

.OptRequireMethods <- function()
{
pkg <- "methods" # done this way to avoid R CMD check warning
if(pkg %in% getOption("defaultPackages"))
if(!require(pkg, quietly = TRUE, warn.conflicts = FALSE,
character.only = TRUE))
warning('package "methods" in options("defaultPackages") was not found',
call. = FALSE)
}

if(nzchar(Sys.getenv("R_BATCH"))) {
.Last.sys <- function()
{
cat("> proc.time()\n")
print(proc.time())
}
## avoid passing on to spawned R processes
## A system has been reported without Sys.unsetenv, so try this
try(Sys.setenv(R_BATCH=""))
}

local({
if(nzchar(rv <- Sys.getenv("R_RNG_VERSION")))
suppressWarnings(RNGversion(rv))
})
###-- R --

this will break if R is on a network share

.Library <- file.path(chartr("\", "/", R.home()), "library")
.Library.site <- Sys.getenv("R_LIBS_SITE")
.Library.site <- if(!nchar(.Library.site)) file.path(R.home(), "site-library") else unlist(strsplit(.Library.site, ";"))
.Library.site <- .Library.site[file.exists(.Library.site)]

if(!nzchar(Sys.getenv("R_LIBS_USER")))
Sys.setenv(R_LIBS_USER=
file.path(Sys.getenv("R_USER"), "R",
"win-library",
paste(R.version$major,
sub("\..*$", "", R.version$minor),
sep=".")
))

invisible(.libPaths(c(unlist(strsplit(Sys.getenv("R_LIBS"), ";")),
unlist(strsplit(Sys.getenv("R_LIBS_USER"), ";"))
)))

local({
popath <- Sys.getenv("R_TRANSLATIONS", "")
if(!nzchar(popath)) {
paths <- file.path(.libPaths(), "translations", "DESCRIPTION")
popath <- dirname(paths[file.exists(paths)][1])
}
bindtextdomain("R", popath)
bindtextdomain("R-base", popath)
bindtextdomain("RGui", popath)
assign(".popath", popath, .BaseNamespaceEnv)
})

if(nzchar(Sys.getenv("R_PAPERSIZE"))) {
options(papersize = Sys.getenv("R_PAPERSIZE"))
} else {
if(grepl("(canada|united.states)", Sys.getlocale("LC_MONETARY"),
ignore.case = TRUE)) options(papersize = "letter")
else options(papersize = "a4")
}

options(pager = if(length(grep("--ess", commandArgs()))) "console" else "internal",
useFancyQuotes = (.Platform$GUI == "Rgui"),
pdfviewer = Sys.getenv("R_PDFVIEWER", file.path(R.home("bin"), "open.exe")))

if(.Platform$GUI == "Rgui")
Sys.setenv(GFORTRAN_STDOUT_UNIT = "-1", GFORTRAN_STDERR_UNIT = "-1")

local({
br <- Sys.getenv("R_BROWSER", NA_character_)
if(!is.na(br)) options(browser = br)
tests_startup <- Sys.getenv("R_TESTS")
if(nzchar(tests_startup)) source(tests_startup)
ca_cert <- Sys.getenv("CURL_CA_BUNDLE", NA_character_)
if(!is.na(ca_cert) &&
file.exists(ca_path <- file.path(R.home("etc"), "curl-ca-bundle.crt")))
Sys.setenv(CURL_CA_BUNDLE = ca_path)
})

R Site Profile: C:/PROGRA~1/R/R-40~1.2/etc/Rprofile.site

Things you might want to change

options(papersize="a4")

options(editor="notepad")

options(pager="internal")

set the default help type

options(help_type="text")

options(help_type="html")

set a site library

.Library.site <- file.path(chartr("\", "/", R.home()), "site-library")

set a CRAN mirror

local({r <- getOption("repos")

r["CRAN"] <- "http://my.local.cran"

options(repos=r)})

Give a fortune cookie, but only to interactive sessions

(This would need the fortunes package to be installed.)

if (interactive())

fortunes::fortune()

R User Profile: C:/Users/XXXXX/Documents/.Rprofile

(File does not exist)

R Site Environ: C:/PROGRA~1/R/R-40~1.2/etc/Renviron.site

(File does not exist)

R User Environ: C:/Users/XXXXX/Documents/.Renviron

(File does not exist)

R Temporary Directory

C:\Users\XXXXX\AppData\Local\Temp\Rtmpc5S3Xq

Files in R Temporary Directory

rs-graphics-081ff5d0-1d5e-44f8-a646-cac88994889e

Log file: C:/Users/XXXXX/AppData/Local/RStudio-Desktop/log/rdesktop.log

(Not Found)

Log file: C:/Users/XXXXX/AppData/Local/RStudio-Desktop/log/rsession-vit1234.log

19 Aug 2020 09:29:31 [rsession-vit1234] 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
19 Aug 2020 09:30:12 [rsession-vit1234] 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
19 Aug 2020 09:31:17 [rsession-vit1234] 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
19 Aug 2020 09:31:44 [rsession-vit1234] 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
19 Aug 2020 09:56:45 [rsession-vit1234] 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
19 Aug 2020 09:57:07 [rsession-vit1234] 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
20 Aug 2020 05:57:41 [rsession-vit1234] 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
20 Aug 2020 05:58:21 [rsession-vit1234] 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
25 Aug 2020 09:57:23 [rsession-vit1234] 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

User prefs: C:/Users/XXXXX/AppData/Roaming/RStudio/rstudio-prefs.json

{
"initial_working_directory": "C:/rworkspace",
"windows_terminal_shell": "win-cmd",
"jobs_tab_visibility": "shown",
"restore_source_documents": false,
"load_workspace": false,
"restore_last_project": false
}

System prefs: C:/ProgramData/RStudio/rstudio-prefs.json

(Not Found)

User state: C:/Users/XXXXX/AppData/Local/RStudio/rstudio-desktop.json

{
"context_id": "280B29E8",
"error_handler_type": "traceback"
}

The same error, when I doiung something in the explorer window of RStudio.