Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RStudio hangs and won't run any code #4212

Closed
itsdanwall opened this issue Jan 24, 2019 · 2 comments
Closed

RStudio hangs and won't run any code #4212

itsdanwall opened this issue Jan 24, 2019 · 2 comments

Comments

@itsdanwall
Copy link

RStudio Edition : Desktop or Server 
RStudio Version : 1.2.1244
OS Version        : Windows 10
R Version          :  3.5.2

I am running an R script in RStudio. Everything works fine for a few minutes but then I can't run any code, save my file, or close out of RStudio other than via Task Manager. The console does not run any code; however, I can edit the script.
This behavior happened in my old version of RStudio. It happens for RMD files as well.

I've removed all non-essential objects from my workspace; reduced the number of packages loaded.

Steps to reproduce the problem

NA

Describe the problem in detail

Describe the behavior you expected

  1. The output of sessionInfo()

sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17134)

Matrix products: default

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

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

other attached packages:
[1] bindrcpp_0.2.2 Compositional_3.3 reshape2_1.4.3 lme4_1.1-19 Matrix_1.2-15
[6] forcats_0.3.0 stringr_1.3.1 dplyr_0.7.8 purrr_0.2.5 readr_1.3.1
[11] tidyr_0.8.2 tibble_2.0.1 ggplot2_3.1.0 tidyverse_1.2.1

loaded via a namespace (and not attached):
[1] minqa_1.2.4 colorspace_1.4-0 emplik_1.0-4.3 ggridges_0.5.1
[5] rsconnect_0.8.13 markdown_0.9 base64enc_0.1-3 rstudioapi_0.9.0
[9] rstan_2.18.2 MatrixModels_0.4-1 DT_0.5 lubridate_1.7.4
[13] xml2_1.2.0 codetools_0.2-15 splines_3.5.2 mnormt_1.5-5
[17] doParallel_1.0.14 shinythemes_1.1.2 bayesplot_1.6.0 spam_2.2-1
[21] jsonlite_1.6 mixture_1.5 nloptr_1.2.1 packrat_0.5.0
[25] broom_0.5.1 shiny_1.2.0 compiler_3.5.2 httr_1.4.0
[29] backports_1.1.3 assertthat_0.2.0 RcppZiggurat_0.1.5 lazyeval_0.2.1
[33] cli_1.0.1 later_0.7.5 prettyunits_1.0.2 htmltools_0.3.6
[37] quantreg_5.38 tools_3.5.2 igraph_1.2.2 dotCall64_1.0-0
[41] gtable_0.2.0 glue_1.3.0 maps_3.3.0 Rcpp_1.0.0
[45] cellranger_1.1.0 nlme_3.1-137 iterators_1.0.10 crosstalk_1.0.0
[49] ps_1.3.0 rvest_0.3.2 mime_0.6 miniUI_0.1.1.1
[53] gtools_3.8.1 MASS_7.3-51.1 zoo_1.8-4 scales_1.0.0
[57] rstanarm_2.18.2 colourpicker_1.0 hms_0.4.2 promises_1.0.1
[61] parallel_3.5.2 inline_0.3.15 SparseM_1.77 shinystan_2.5.0
[65] fields_9.6 gridExtra_2.3 loo_2.0.0 StanHeaders_2.18.0-1
[69] stringi_1.2.4 dygraphs_1.1.1.6 foreach_1.4.4 pkgbuild_1.0.2
[73] matrixStats_0.54.0 rlang_0.3.1 pkgconfig_2.0.2 lattice_0.20-38
[77] bindr_0.1.1 rstantools_1.5.1 htmlwidgets_1.3 Rfast_1.9.2
[81] tidyselect_0.2.5 processx_3.2.1 plyr_1.8.4 magrittr_1.5
[85] R6_2.3.0 generics_0.0.2 pillar_1.3.1 haven_2.0.0
[89] withr_2.1.2 sn_1.5-3 xts_0.11-2 survival_2.43-3
[93] modelr_0.1.2 crayon_1.3.4 grid_3.5.2 readxl_1.2.0
[97] callr_3.1.1 threejs_0.3.1 digest_0.6.18 xtable_1.8-3
[101] httpuv_1.4.5.1 numDeriv_2016.8-1 stats4_3.5.2 munsell_0.5.0
[105] shinyjs_1.0

  1. The R code in question

  2. A diagnostics report

diagnostics-report.txt

@itsdanwall
Copy link
Author

Just an update on this. As suggested at #2141 I removed the .git folder from the project. This didn't work. I also updated to the latest release version of RStudio, which also didn't work. I also ran the script outside of the project and the behavior persisted. I deleted the .Rproj file and created a new one (As suggested here: https://support.rstudio.com/hc/en-us/community/posts/214993747-Rstudio-crashes-freezes-when-I-try-to-open-an-R-project).

I'm not sure what else to do.

Thanks!

@jmcphers
Copy link
Member

Did you try resetting your state?

https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State

If that doesn't help, would suggest asking on our forum:

https://community.rstudio.com/c/rstudio-ide

This issue tracker is specifically for bugs in RStudio -- unless we have some way to reproduce what you're seeing, we can't help with it here. Hope you're able to work it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants