R Studio Crashing Everytime I saw .rmd file

I am using RStudio Desktop on a Amazon Workstation.

For months it had worked fine. However now whenever I run RStudio and try to save a .rmd file it fails. I can save a .R file with no issues but a .RMD causes RStudio to crash.

I have tried several times to uninstall RStudio and then re-install it. I also recently decided maybe it would be replaced if I upgraded R/RStudio so I upgraded to 4.1 and 1.4 respectively.

Below is my Diagnostic Report. This is my first time creating a post in this community, so if there's something else I should include please let me know.

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: Fri May 28 10:49:30 2021

RStudio Version
--------------------------------------------------
1.4.1106


Session Information
--------------------------------------------------
R version 4.1.0 (2021-05-18)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows Server x64 (build 14393)

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 datasets  utils     methods   base     

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


System Information
--------------------------------------------------
sysname        : Windows        
release        : Server x64     
version        : build 14393    
nodename       : EC2AMAZ-QUK1M97
machine        : x86            
login          : banderson      
user           : banderson      
effective_user : banderson      


Platform Information
--------------------------------------------------
OS.type    : windows
file.sep   : /
dynlib.ext : .dll
GUI        : RStudio
endian     : little
pkgType    : win.binary
path.sep   : ;
r_arch     : i386


Environment Variables
--------------------------------------------------
ALLUSERSPROFILE                     : C:\ProgramData
APPDATA                             : D:\Users\banderson\AppData\Roaming
CLICOLOR_FORCE                      : 1
CommonProgramFiles                  : C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)             : C:\Program Files (x86)\Common Files
CommonProgramW6432                  : C:\Program Files\Common Files
COMPUTERNAME                        : EC2AMAZ-QUK1M97
ComSpec                             : C:\Windows\system32\cmd.exe
DISPLAY                             : :0
FPS_BROWSER_APP_PROFILE_STRING      : Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING     : Default
GFORTRAN_STDERR_UNIT                : -1
GFORTRAN_STDOUT_UNIT                : -1
GIT_XL_PATH                         : D:\Users\banderson\AppData\Local\Programs\Git XL
HOME                                : D:\Users\banderson\Documents
HOMEDRIVE                           : D:
HOMEPATH                            : \Users\banderson
LOCALAPPDATA                        : D:\Users\banderson\AppData\Local
LOGONSERVER                         : \\USESI-AWS-DC01
MPLENGINE                           : tkAgg
MSYS2_ENV_CONV_EXCL                 : R_ARCH
NUMBER_OF_PROCESSORS                : 2
OneDrive                            : D:\Users\banderson\OneDrive - US Electrical Services, Inc
OneDriveCommercial                  : D:\Users\banderson\OneDrive - US Electrical Services, Inc
OS                                  : Windows_NT
PATH                                : D:\Users\banderson\Documents\R\R-4.1.0\bin\i386;C:\Program Files (x86)\Python38-32\Scripts\;C:\Program Files (x86)\Python38-32\;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:\Program Files\Amazon\cfn-bootstrap\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Amazon\AWSCLIV2\;C:\Program Files\PowerShell\7\;D:\Users\banderson\AppData\Roaming\Python\Python38\Scripts;C:\Program Files\Azure Data Studio\bin;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;D:\Users\banderson\AppData\Local\Microsoft\WindowsApps;D:\Users\banderson\AppData\Local\Programs\Microsoft VS Code\bin;D:\Users\banderson\AppData\Local\Programs\Git XL;D:\Users\banderson\AppData\Local\Programs\Git XL;D:\Users\banderson\AppData\Local\GitHubDesktop\bin;D:\Users\banderson\AppData\Local\Programs\Git\cmd
PATHEXT                             : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
POWERSHELL_DISTRIBUTION_CHANNEL     : MSI:Windows Server 2016 Datacenter
PROCESSOR_ARCHITECTURE              : x86
PROCESSOR_ARCHITEW6432              : AMD64
PROCESSOR_IDENTIFIER                : Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL                     : 6
PROCESSOR_REVISION                  : 3f02
ProgramData                         : C:\ProgramData
ProgramFiles                        : C:\Program Files (x86)
ProgramFiles(x86)                   : C:\Program Files (x86)
ProgramW6432                        : C:\Program Files
PSModulePath                        : C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AWS Tools\PowerShell\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\
PUBLIC                              : C:\Users\Public
QT_D3DCREATE_MULTITHREADED          : 1
R_ARCH                              : /i386
R_COMPILED_BY                       : gcc 8.3.0
R_DOC_DIR                           : D:/Users/banderson/Documents/R/R-4.1.0/doc
R_HOME                              : D:/Users/banderson/Documents/R/R-4.1.0
R_LIBS_USER                         : D:/Users/banderson/Repos/r-andom-stuff/renv/library/R-4.1/i386-w64-mingw32;D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library
R_USER                              : D:/Users/banderson/Documents
RENV_DEFAULT_R_ENVIRON              : <NA>
RENV_DEFAULT_R_ENVIRON_USER         : <NA>
RENV_DEFAULT_R_LIBS                 : <NA>
RENV_DEFAULT_R_LIBS_SITE            : <NA>
RENV_DEFAULT_R_LIBS_USER            : D:/Users/banderson/Documents/R/win-library/4.1
RENV_DEFAULT_R_PROFILE              : <NA>
RENV_DEFAULT_R_PROFILE_USER         : <NA>
RENV_PROJECT                        : D:/Users/banderson/Repos/r-andom-stuff
RETICULATE_MINICONDA_PYTHON_ENVPATH : D:/Users/banderson/Repos/r-andom-stuff/renv/python/r-reticulate
RMARKDOWN_MATHJAX_PATH              : C:/Program Files/RStudio/resources/mathjax-27
RS_LOCAL_PEER                       : \\.\pipe\33130-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                : 33130
RSTUDIO_USER_IDENTITY               : banderson
RSTUDIO_WINUTILS                    : C:/Program Files/RStudio/bin/winutils
RTOOLS40_HOME                       : C:\rtools40
SESSIONNAME                         : Console
STXHD_ACCOUNT_ID                    : 697148468905
STXHD_INSTANCE_ID                   : i-010d4c6dd2ddd6c68
STXHD_PERFORMANCE                   : SPEED
STXHD_REGION                        : us-east-1
SystemDrive                         : C:
SystemRoot                          : C:\Windows
TAR                                 : internal
TEMP                                : D:\Users\banderson\AppData\Local\Temp\2
TERM                                : xterm-256color
TMP                                 : D:\Users\banderson\AppData\Local\Temp\2
USERDNSDOMAIN                       : EW-INC.LOCAL
USERDOMAIN                          : EW-INC
USERDOMAIN_ROAMINGPROFILE           : EW-INC
USERNAME                            : *** redacted ***
USERPROFILE                         : D:\Users\banderson
windir                              : C:\Windows


R Version
--------------------------------------------------
platform       : i386-w64-mingw32
arch           : i386
os             : mingw32
system         : i386, mingw32
status         : 
major          : 4
minor          : 1.0
year           : 2021
month          : 05
day            : 18
svn rev        : 80317
language       : R
version.string : R version 4.1.0 (2021-05-18)
nickname       : Camp Pontanezen


R Home
--------------------------------------------------
D:/Users/banderson/Documents/R/R-4.1.0


R Search Path
--------------------------------------------------
.GlobalEnv       
tools:rstudio    
package:stats    
package:graphics 
package:grDevices
package:datasets 
renv:shims       
package:utils    
package:methods  
Autoloads        
package:base     


R Library Paths
--------------------------------------------------
D:/Users/banderson/Repos/r-andom-stuff/renv/library/R-4.1/i386-w64-mingw32
D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library    


Loaded Packages
--------------------------------------------------
compiler  : D:/Users/banderson/Documents/R/R-4.1.0/library/compiler                           
datasets  : D:/Users/banderson/Documents/R/R-4.1.0/library/datasets                           
graphics  : D:/Users/banderson/Documents/R/R-4.1.0/library/graphics                           
grDevices : D:/Users/banderson/Documents/R/R-4.1.0/library/grDevices                          
methods   : D:/Users/banderson/Documents/R/R-4.1.0/library/methods                            
stats     : D:/Users/banderson/Documents/R/R-4.1.0/library/stats                              
tools     : D:/Users/banderson/Documents/R/R-4.1.0/library/tools                              
utils     : D:/Users/banderson/Documents/R/R-4.1.0/library/utils                              
renv      : D:/Users/banderson/Repos/r-andom-stuff/renv/library/R-4.1/i386-w64-mingw32/renv   
base      : D:\Users\banderson\AppData\Local\Temp\2\Rtmpacy0Du/renv-system-library/base


Installed Packages
--------------------------------------------------
      Package                                                                    LibPath Version
1        renv D:/Users/banderson/Repos/r-andom-stuff/renv/library/R-4.1/i386-w64-mingw32  0.13.2
2        base     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
3        boot     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  1.3-28
4       class     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  7.3-19
5     cluster     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   2.1.2
6   codetools     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  0.2-18
7    compiler     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
8    datasets     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
9     foreign     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  0.8-81
10   graphics     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
11  grDevices     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
12       grid     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
13 KernSmooth     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library 2.23-20
14    lattice     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library 0.20-44
15       MASS     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  7.3-54
16     Matrix     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   1.3-3
17    methods     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
18       mgcv     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  1.8-35
19       nlme     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library 3.1-152
20       nnet     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  7.3-16
21   parallel     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
22      rpart     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  4.1-15
23    spatial     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  7.3-14
24    splines     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
25      stats     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
26     stats4     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
27   survival     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library  3.2-11
28      tcltk     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
29      tools     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0
30      utils     D:/Users/banderson/AppData/Local/Temp/2/Rtmpacy0Du/renv-system-library   4.1.0


R System Profile: D:/Users/banderson/Documents/R/R-4.1.0/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-2020 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")

## setting from an env variable added in 4.0.2
local({to <- as.integer(Sys.getenv("R_DEFAULT_INTERNET_TIMEOUT", 60))
    if (is.na(to) || to <= 0) to <- 60L
    options(timeout = to)
})
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))
})

.sys.timezone <- NA_character_
###-*- 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(!nzchar(.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: D:/Users/banderson/Documents/R/R-4.1.0/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: D:/Users/banderson/Documents/.Rprofile
--------------------------------------------------
(File does not exist)


R Site Environ: D:/Users/banderson/Documents/R/R-4.1.0/etc/Renviron.site
--------------------------------------------------
(File does not exist)


R User Environ: D:/Users/banderson/Documents/.Renviron
--------------------------------------------------
(File does not exist)


R Temporary Directory
--------------------------------------------------
D:\Users\banderson\AppData\Local\Temp\2\Rtmpacy0Du


Files in R Temporary Directory
--------------------------------------------------
libloc_197_65b577f.rds                                  
libloc_221_376a40bf.rds                                 
renv-system-library                                     
repos_https%3A%2F%2Fcran.rstudio.com%2Fsrc%2Fcontrib.rds
rs-graphics-11acf0f2-810f-4dbe-b2fc-b786ad37eead        


Log file: D:/Users/banderson/AppData/Local/RStudio/log/rdesktop.log
--------------------------------------------------

28 May 2021 13:51:34 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_78516fd82a3da509bcd1e6f3c113f070>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:523
28 May 2021 13:52:08 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_78516fd82a3da509bcd1e6f3c113f070>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:523
28 May 2021 14:07:38 [rdesktop] ERROR Main window closed unexpectedly; LOGGED FROM: auto __cdecl rstudio::desktop::MainWindow::closeEvent::<lambda_78516fd82a3da509bcd1e6f3c113f070>::operator ()(class QVariant) const src/cpp/desktop/DesktopMainWindow.cpp:523


Log file: D:/Users/banderson/AppData/Local/RStudio/log/rsession-banderson.log
--------------------------------------------------

28 May 2021 14:49:34 [rstudio-diagnostics] ERROR system error 32 (The process cannot access the file because it is being used by another process) [path: D:/Users/banderson/AppData/Local/RStudio/log/rsession-banderson.log]; OCCURRED AT auto __cdecl rstudio::core::FilePath::openForRead::<lambda_b3eab7e6be02aaeb41fc191dbbb0d9e9>::operator ()(void) const src/cpp/shared_core/FilePath.cpp:1408; LOGGED FROM: void __cdecl `anonymous-namespace'::writeFile(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class rstudio::core::FilePath &,class std::basic_ostream<char,struct std::char_traits<char> > &) src/cpp/diagnostics/DiagnosticsMain.cpp:55
(Empty)

User prefs: D:/Users/banderson/AppData/Roaming/RStudio/rstudio-prefs.json
--------------------------------------------------

{
    "jobs_tab_visibility": "shown",
    "document_author": "Bo Anderson",
    "editor_theme": "Night Owl",
    "default_project_location": "D:/Users/banderson/Repos",
    "new_proj_git_init": true,
    "initial_working_directory": "D:/Users/banderson/Repos/r-andom-stuff",
    "windows_terminal_shell": "win-git-bash"
}

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

(Not Found)

User state: D:/Users/banderson/AppData/Local/RStudio/rstudio-desktop.json
--------------------------------------------------

{
    "context_id": "6DFF81D2",
    "theme": {
        "name": "Night Owl",
        "isDark": true,
        "url": "theme/custom/local/night-owlish.rstheme"
    },
    "visual_mode_confirmed": true,
    "export_plot_options": {
        "width": 866,
        "height": 553,
        "format": "jpeg",
        "keepRatio": false,
        "viewAfterSave": false,
        "copyAsMetafile": false
    }
}

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.