explor icon indicating copy to clipboard operation
explor copied to clipboard

"R is not responding to your request" after using explor

Open Chatoranga opened this issue 1 year ago • 6 comments

Hello, I use the explor function but R very often crashes when I close the explor window. R studio displays "R is not responding your request to interrupt processing so to stop the current operation you may need to terminate R entirely.", and I lose everything in the workspace. What can I do ?

Chatoranga avatar Apr 13 '23 13:04 Chatoranga

Well, it's a bit complicated to know where the problem can come from... What version of RStudio are you using ?

juba avatar Apr 13 '23 15:04 juba

Just to let you know that I have the same problem, using this RStudio: Version 2023.03.1+446 (2023.03.1+446) on a MacBook ARM64.

It does not always occur, but most of the time.

Refuse to interrupt the process in the prompt, hit escape key in the console and it gets back to normal.

gabrielparriaux avatar May 30 '23 00:05 gabrielparriaux

Do you have the same error message "R is not responding your request to interrupt processing so to stop the current operation you may need to terminate R entirely." ?

Do you know if it happens with different types of results (CA, MCA, speMCA...) or specifically with one kind ?

juba avatar May 30 '23 10:05 juba

Yes, it’s this message. Here is a screenshot:

Capture d’écran 2023-05-31 à 21 17 29

I only tested it with CA and MCA. It happens with both, but not every time (more than 50% of the time maybe?).

gabrielparriaux avatar Jun 01 '23 05:06 gabrielparriaux

Damn, that's quite a problem if it happens half of the time... The issue is that it doesn't seem to happen on my system, so I can't reproduce it and try to find the cause.

Could you give me some more information, specifically:

  • your R version
  • the output of sessionInfo()
  • how is the explor interface displayed : in the Rstudio viewer pane ? In an external browser ?
  • how do you "exit" explor ? By closing the window ? By clicking the "stop" icon of the viewer pane ?

Thanks !

juba avatar Jun 01 '23 09:06 juba

I’m using R 4.3.0.

Here is the output of sessionInfo()

R version 4.3.0 Patched (2023-05-02 r84382)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.4

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

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

time zone: Europe/Zurich
tzcode source: internal

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

other attached packages:
 [1] RColorBrewer_1.1-3        collapse_1.9.6            data.table_1.14.8         spacyr_1.2.1              udpipe_0.8.11             shiny_1.7.4               quanteda.textplots_0.94.3 quanteda.textmodels_0.9.6 quanteda.textstats_0.96.2 rainette_0.3.1.1         
[11] svglite_2.1.1             explor_0.3.10             questionr_0.7.8           ggrepel_0.9.3             lubridate_1.9.2           forcats_1.0.0             stringr_1.5.0             dplyr_1.1.2               purrr_1.0.1               readr_2.1.4              
[21] tidyr_1.3.0               tibble_3.2.1              tidyverse_2.0.0           Hmisc_5.1-0               gridExtra_2.3             gplots_3.1.3              corrplot_0.92             factoextra_1.0.7          FactoMineR_2.8            ggplot2_3.4.2            
[31] quanteda_3.3.1           

loaded via a namespace (and not attached):
  [1] rstudioapi_0.14      jsonlite_1.8.4       shape_1.4.6          magrittr_2.0.3       estimability_1.4.1   farver_2.1.1         rmarkdown_2.21       ragg_1.2.5           vctrs_0.6.2          memoise_2.0.1        base64enc_0.1-3      htmltools_0.5.5     
 [13] haven_2.5.2          Formula_1.2-5        sass_0.4.6           KernSmooth_2.23-21   bslib_0.4.2          fontawesome_0.5.1    htmlwidgets_1.6.2    emmeans_1.8.6        cachem_1.0.8         mime_0.12            lifecycle_1.0.3      iterators_1.0.14    
 [25] pkgconfig_2.0.3      Matrix_1.5-4.1       R6_2.5.1             fastmap_1.1.1        digest_0.6.31        colorspace_2.1-0     textshaping_0.3.6    crosstalk_1.2.0      ellipse_0.4.5        labeling_0.4.2       fansi_1.0.4          timechange_0.2.0    
 [37] compiler_4.3.0       scatterD3_1.0.1      withr_2.5.0          htmlTable_2.4.1      backports_1.4.1      viridis_0.6.3        dendextend_1.17.1    highr_0.10           LiblineaR_2.10-22    MASS_7.3-60          scatterplot3d_0.3-44 gtools_3.9.4        
 [49] caTools_1.18.2       flashClust_1.01-2    tools_4.3.0          foreign_0.8-84       stopwords_2.3        httpuv_1.6.11        nnet_7.3-19          glue_1.6.2           promises_1.2.0.1     grid_4.3.0           checkmate_2.2.0      cluster_2.1.4       
 [61] generics_0.1.3       gtable_0.3.3         labelled_2.11.0      tzdb_0.4.0           hms_1.1.3            utf8_1.2.3           foreach_1.5.2        pillar_1.9.0         nsyllable_1.0.1      later_1.3.1          splines_4.3.0        lattice_0.21-8      
 [73] survival_3.5-5       SparseM_1.81         tidyselect_1.2.0     miniUI_0.1.1.1       knitr_1.43           xfun_0.39            DT_0.28              stringi_1.7.12       yaml_2.3.7           evaluate_0.21        codetools_0.2-19     ggwordcloud_0.5.0   
 [85] multcompView_0.1-9   cli_3.6.1            RcppParallel_5.1.7   rpart_4.1.19         xtable_1.8-4         systemfonts_1.0.4    munsell_0.5.0        jquerylib_0.1.4      Rcpp_1.0.10          coda_0.19-4          png_0.1-8            parallel_4.3.0      
 [97] leaps_3.1            ellipsis_0.3.2       bitops_1.0-7         glmnet_4.1-7         viridisLite_0.4.2    mvtnorm_1.1-3        scales_1.2.1         rlang_1.1.1          fastmatch_1.1-3      formatR_1.14  

Explor interface is displayed in a new window in RStudio.

I exit by clicking the close button (red button in the corner of the window) or using shortcut cmd + w (on Mac). The problem appears when I quit both ways.

gabrielparriaux avatar Jun 01 '23 15:06 gabrielparriaux