Shut down during computing


Hello all,

I've set a model running which will take several hours (using rstanarm library). When I leave my computer and come back after enough time for my screen to turn off, I find the save dialogue box and my computing has been stopped. Does anyone have an idea about how to prevent this?

> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin16.7.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] MetroTransitr_0.0.0.9006 data.table_1.11.4        plyr_1.8.4               ggplot2_3.0.0.9000       RODBC_1.3-15            

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.17         compiler_3.5.0       pillar_1.2.3         later_0.7.3          bindr_0.1.1          tools_3.5.0         
 [7] bitops_1.0-6         shinyBS_0.61         digest_0.6.15        tibble_1.4.2         gtable_0.2.0         lattice_0.20-35     
[13] pkgconfig_2.0.1      rlang_0.2.1          shiny_1.1.0          crosstalk_1.0.0      yaml_2.1.19          rgdal_1.3-2         
[19] bindrcpp_0.2.2       withr_2.1.2          dplyr_0.7.6          htmlwidgets_1.2      rgeos_0.3-28         shinydashboard_0.7.0
[25] leaflet_2.0.1        grid_3.5.0           tidyselect_0.2.4     glue_1.2.0           R6_2.2.2             sp_1.3-1            
[31] purrr_0.2.5          magrittr_1.5         scales_0.5.0         promises_1.0.1       htmltools_0.3.6      leaflet.extras_1.0.0
[37] assertthat_0.2.0     mime_0.5             colorspace_1.3-2     xtable_1.8-2         httpuv_1.4.3         miniUI_0.1.1.1      
[43] RCurl_1.95-4.10      shinyURL_0.0.35      lazyeval_0.2.1       munsell_0.5.0      


Does this work for you in R, but not in RStudio? (see FAQ below for disambiguation)


Hi Mara,

I didn't think to try that. I'll give that a try tonight and report back to you tomorrow. Many thanks for such a fast response!