Unable to start RStudio - 'R Session has become unresponsive'

When I start up RStudio, it hangs on the 'chasing circle' and after 30 seconds I get an alert stating 'The RStudio server is taking a long time to respond. It is possible that your R session has become unresponsive.' I terminate R and then I get a white screen where I'm unable to select any of the menus. I have uninstalled both R and RStudio, restarted my laptop and then installed R 3.5.1 and RStudio 1.1456. I still have the same issue.

I found some posts about using a VPN with R then going to a network and that doesn't appear to be the issue. I can't start RStudio when I'm connected to my local network or via VPN.

I was unable to run the diagnostics from within RStudio but was able to get it from the command line. I have pasted the output below. Any ideas what else I could do to get R up and running?

[1] "1.1.456"

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

$pdflatex
[1] ""

$bibtex
[1] ""

$gcc
[1] ""

$git
[1] ""

$svn
[1] ""

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

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.5.1 tools_3.5.1   

SysInfo:
       sysname        release        version       nodename        machine 
     "Windows"     ">= 8 x64"   "build 9200" "WKSP0009A3DA"       "x86-64" 
         login           user effective_user 
     "bqq3tlc"      "bqq3tlc"      "bqq3tlc" 

R Version:
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          5.1                         
year           2018                        
month          07                          
day            02                          
svn rev        74947                       
language       R                           
version.string R version 3.5.1 (2018-07-02)
nickname       Feather Spray               
$ALLUSERSPROFILE
[1] "C:\\ProgramData"

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

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

$CLICOLOR_FORCE
[1] "1"

$COMMCFG_HOME
[1] "C:\\Apps\\Gen"

$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] "WKSP0009A3DA"

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

$DADIR
[1] "C:\\Program Files (x86)\\CheckPoint\\Endpoint Security\\Endpoint Common"

$EMCON2K
[1] "EMCON2K"

$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/bqq3tlc/Documents"

$HOMEDRIVE
[1] "C:"

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

$IEFCOMPATIBLEAPPEARANCE
[1] "YES"

$IEFH
[1] "C:\\Apps\\Gen"

$IEFLOCALVIEWALLOCSCOPE
[1] "GLOBAL"

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

$LOGONSERVER
[1] "\\\\GAAPRWDC1004"

$MSYS2_ENV_CONV_EXCL
[1] "R_ARCH"

$NUMBER_OF_PROCESSORS
[1] "8"

$OS
[1] "Windows_NT"

$PATH
[1] "C:\\Program Files\\R\\R-3.5.1\\bin\\x64;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\avs\\bin;C:\\Program Files\\avs\\bin32;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\WindowsHelp\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\WinZip;C:\\Program Files (x86)\\CheckPoint\\Endpoint Security\\Endpoint Common\\bin;C:\\Apps\\GEN;C:\\Apps\\GEN\\VS100;C:\\Program Files (x86)\\Microsoft SQL Server\\Client SDK\\ODBC\\130\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\140\\Tools\\Binn\\ManagementStudio\\;C:\\Windows\\system32\\config\\systemprofile\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\bqq3tlc\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\bqq3tlc\\AppData\\Local\\Programs\\EmEditor"

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

$PROCESSOR_ARCHITECTURE
[1] "AMD64"

$PROCESSOR_IDENTIFIER
[1] "Intel64 Family 6 Model 158 Stepping 9, GenuineIntel"

$PROCESSOR_LEVEL
[1] "6"

$PROCESSOR_REVISION
[1] "9e09"

$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:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files\\UPSAPPS\\DSCOMMON\\TOOLS\\PowerShell\\Modules\\"

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

$R_ARCH
[1] "/x64"

$R_COMPILED_BY
[1] "gcc 4.9.3"

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

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

$R_LIBS_USER
[1] "C:/Users/bqq3tlc/Documents/R/win-library/3.5"

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

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

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

$RSTUDIO_USER_IDENTITY
[1] "bqq3tlc"

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

$SESSIONNAME
[1] "Console"

$SystemDrive
[1] "C:"

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

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

$TERM
[1] "xterm-256color"

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

$USERDNSDOMAIN
[1] "US.UPS.COM"

$USERDOMAIN
[1] "US"

$USERDOMAIN_ROAMINGPROFILE
[1] "US"

$USERNAME
[1] "bqq3tlc"

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

$WinCollect_Install_Dir
[1] "C:\\IBM\\WinCollect\\"

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

 [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-bqq3tlc.log
--------------------------------------------------

(Empty)

I was able to fix this issue - there was a .Rdata file that was keeping a hold on RStudio, preventing me from starting the app. Once I deleted the .Rdata file, I was able to get RStudio to open fully.

Glad you were able to find a solution! Just in case you were interested in saving the data (or encounter this issue in the future), you could also rename the file so that it is not automatically sourced on load.

You also have the option to disable the default loading .RData files in RStudio using a variety of methods. The easiest is probably going to Tools -> Global Options -> General -> Basic (Workspace header):

image

Also, always good to mark your answer as the "Solution" so that others know your question has been solved!

1 Like

3 posts were split to a new topic: How do I find the .RData file that's making my session unresponsive?

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