RStudio Desktop fails to start after updating to v.1.2.5001 on Windows 7 64 bit

I've just updated to RStudio Desktop v.1.25001. On startup, I'm receiving the following Windows error message: "RStudio has stopped working". The program crashes immediately.

Attemps made to fix the issue:

  1. Uninstalled RStudio entirely and reinstalled from https://www.rstudio.com/products/rstudio/download/

  2. Updated to R v. 3.6.1, the latest version.

  3. Deleted the RStudio-Desktop folder to reset RStudio's state.

  4. Checked properties of the RStudio-Desktop folder to make sure it has read, write, and execute permissions.

  5. Disabled my anti-malware when running RStudio.

  6. Held Ctrl when running RStudio to open the 'Choose R installation' dialogue and made sure RStudio was finding and using the correct version of R.

  7. Searched for any instances of .RData, .RProfile, and .Renviron files with the intent of removing them; however, I could not find any, as they cannot be seen from my home dir and I'm not sure what my most recent working dir was.

System information:

RStudio Edition: Desktop
RStudio Version: 1.2.5001
OS Version: Windows 7
R Version: 3.6.1
Output your diagnostics report:

[1] "1.2.5001"

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

$pdflatex
[1] "C:\\PROGRA~1\\MIKTEX~1.9\\miktex\\bin\\x64\\pdflatex.exe"

$bibtex
[1] "C:\\PROGRA~1\\MIKTEX~1.9\\miktex\\bin\\x64\\bibtex.exe"

$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 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252   
[3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.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 
                   "Windows"                      "7 x64" 
                     version                     nodename 
"build 7601, Service Pack 1"             "JULIANMORAN-PC" 
                     machine                        login 
                    "x86-64"               "Julian Moran" 
                        user               effective_user 
              "Julian Moran"               "Julian Moran" 

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\\Julian Moran\\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] "JULIANMORAN-PC"

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

$FP_NO_HOST_CHECK
[1] "NO"

$GFORTRAN_STDERR_UNIT
[1] "-1"

$GFORTRAN_STDOUT_UNIT
[1] "-1"

$HOME
[1] "C:/Users/Julian Moran/Documents"

$HOMEDRIVE
[1] "C:"

$HOMEPATH
[1] "\\Users\\Julian Moran"

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

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

$MpConfig_ProductAppDataPath
[1] "C:\\ProgramData\\Microsoft\\Windows Defender"

$MpConfig_ProductCodeName
[1] "AntiSpyware"

$MpConfig_ProductPath
[1] "C:\\Program Files\\Windows Defender"

$MpConfig_ProductUserAppDataPath
[1] "C:\\Users\\Julian Moran\\AppData\\Local\\Microsoft\\Windows Defender"

$MpConfig_ReportingGUID
[1] "E34373DA-32E4-4FC5-AA69-71F64DFEF1CF"

$MSYS2_ENV_CONV_EXCL
[1] "R_ARCH"

$NUMBER_OF_PROCESSORS
[1] "2"

$OneDrive
[1] "C:\\Users\\Julian Moran\\OneDrive"

$OneDriveConsumer
[1] "C:\\Users\\Julian Moran\\OneDrive"

$OS
[1] "Windows_NT"

$PATH
[1] "C:\\Program Files\\R\\R-3.6.1\\bin\\x64;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64\\;C:\\Program Files (x86)\\Skype\\Phone\\"

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

$PROCESSOR_ARCHITECTURE
[1] "AMD64"

$PROCESSOR_IDENTIFIER
[1] "Intel64 Family 6 Model 23 Stepping 10, GenuineIntel"

$PROCESSOR_LEVEL
[1] "6"

$PROCESSOR_REVISION
[1] "170a"

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

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

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

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

$PROMPT
[1] "$P$G"

$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/Julian Moran/Documents/R/win-library/3.6"

$R_USER
[1] "C:/Users/Julian Moran/Documents"

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

$RS_LOCAL_PEER
[1] "\\\\.\\pipe\\47995-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] "47995"

$RSTUDIO_USER_IDENTITY
[1] "Julian Moran"

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

$SESSIONNAME
[1] "Console"

$SystemDrive
[1] "C:"

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

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

$TERM
[1] "xterm-256color"

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

$USERDOMAIN
[1] "JulianMoran-PC"

$USERNAME
[1] "Julian Moran"

$USERPROFILE
[1] "C:\\Users\\Julian Moran"

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

$YPCAGADGET
[1] "TOSHIBA"

 [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
--------------------------------------------------

(Empty)

Log file: rsession-Julian Moran.log
--------------------------------------------------

(Empty)


Unfortunately, I don't see anything that stands out in the diagnostics report. We might need a Windows Minidump to diagnose further.


First, you need to enable Minidumps explicitly. Microsoft provides explicit instructions at https://docs.microsoft.com/en-us/windows/desktop/wer/collecting-user-mode-dumps. If you'd like to automatically enable user-mode dumps, you can also try importing the following registry file:

Restart your computer afterwards to ensure the registry updates take effect.

Next, perform the action that causes the crash to occur. If we're lucky, the crash dump will be written to a folder at:

C:\Users\%USERNAME%\AppData\Local\CrashDumps

replacing %USERNAME% with your Windows username as appropriate. Note that AppData is a hidden folder, so if you're trying to navigate to it in the Windows explorer you'll need to ensure hidden files and directories are made visible.

Then, within the folder, you should find files of the form:

*.exe.<id>.dmp

Please share the file with us. If the file is large, you might consider uploading it to a cloud storage provider (DropBox, Google Drive, Windows OneDrive) and sharing a link to that file for us to examine.

If you'd like to later disable Windows Minidumps, you can import the following registry file:

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