RStudio freezes/hangs Save option is unavailable (windows 10)

rstudio
#1

Hi there,

I am running Rstudio in windows 10 16GB machine. My sessionInfo()

sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

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

loaded via a namespace (and not attached):
[1] compiler_3.5.2 tools_3.5.2    yaml_2.2.0    
> memory.limit()
[1] 16305
>

When I start my Rstudio it will take couple of executed commands (ie loading data around 500MB, dplyr subsetting) and all of a sudden Console freezes (cannot even execute 1+1) and scripts cannot be saved. I have to kill the process through the task manager (since none of the internal Rstudio command for terminating the session work). Actually nothing works after the freezing hanging.

Unfortunately this error is not reproducible.

As an extra info, I am running Rstudio in a machine that I am not the admin user.

Any help will be really appreciated.

Thanks in advance
Michalis

0 Likes

#2

Does this happen with any command that you execute or with a specific code that you are running? A sample of code that triggers the error could be helpful.

0 Likes

#3

Hi andresrcs,
Thanks for your swift reply.
The error is there regardless the script. I had this error in multiple scripts. In all of the scripts is mostly data manipulations and visualization. The packages that I most frequently use are:

library(dygraphs)
library(quantmod)
library(flexdashboard)
library(xts)
library(dplyr)
library(ggplot2)
library(plotly)
library(zoo)
library(forecast)

I had the impression it was a problem with memory allocation, However when I have increased it I got the same error.

0 Likes

closed #4

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.

0 Likes