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"

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

[1] ""

[1] ""

[1] ""

[1] ""

[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

[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   

       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             
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               
[1] "C:\\ProgramData"

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

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

[1] "1"

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

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

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

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

[1] "WKSP0009A3DA"

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

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

[1] "EMCON2K"

[1] "Internet Explorer"

[1] "Default"

[1] "-1"

[1] "-1"

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

[1] "C:"

[1] "\\Users\\bqq3tlc"

[1] "YES"

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

[1] "GLOBAL"

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

[1] "\\\\GAAPRWDC1004"

[1] "R_ARCH"

[1] "8"

[1] "Windows_NT"

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


[1] "AMD64"

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

[1] "6"

[1] "9e09"

[1] "C:\\ProgramData"

[1] "C:\\Program Files"

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

[1] "C:\\Program Files"

[1] "$P$G"

[1] "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files\\UPSAPPS\\DSCOMMON\\TOOLS\\PowerShell\\Modules\\"

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

[1] "/x64"

[1] "gcc 4.9.3"

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

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

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

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

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

[1] "\\\\.\\pipe\\34911-rsession"

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

[1] "63341846741"

[1] "1"

[1] "256"

[1] "80"

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

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

[1] "34911"

[1] "bqq3tlc"

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

[1] "Console"

[1] "C:"

[1] "C:\\Windows"

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

[1] "xterm-256color"

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

[1] "US.UPS.COM"

[1] "US"

[1] "US"

[1] "bqq3tlc"

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

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

[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


Log file: rsession-bqq3tlc.log


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


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.