Quarto document with Shiny elements hangs RStudio in Windows 10 and 11

The Problem: I am excited to move from RMarkdown to Quarto. However, I can't get the sample Quarto with Shiny elements files to STOP. The RStudio interface becomes unresponsive after the file with Shiny elements renders. The only way I can proceed is to quit and restart RStudio. Problem exists on both Windows 10 and Windows 11. My usual search on the RStudio community site and StackOverflow did not yield an answer. Any ideas? (it seems like the Quarto code is trying to write a file or close something and can't quite do so.)

Operating System: I am running R4.2.1 on Windows 11 and R4.2.2 on Windows 10. Soon I will upgrade Windows 11 to R4.2.2.

DETAILS
Quarto with Shiny elements:
Default Quarto file with Shiny elements generated by RStudio 2022.12.10 will run and allow me to interact with the slider to change the histogram. The rendering does not quit when I click the STOP hexagon icon in the Render panel. In the Files panel and on the Render tab, the “processing” animation icon spins. I can’t execute any code or run complete scripts. I have to quit RStudio and restart.

Rmd with Shiny elements:
Default RMarkdown file with Shiny elements generated by RStudio 2022.12.10 will run and allow me to interact with bins and bandwidth slider. The rendering will quit when I click the STOP hexagon icon in the Render panel or when I close the window with the Shiny app. I can continue to execute code, rerun the Rmd with Shiny elements, etc.

sessionInfo() on Windows 11 machine
#> R version 4.1.0 (2021-05-18)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 22621)
#> 
#> Matrix products: default
#> 
#> locale:
#> [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] rstudioapi_0.13   knitr_1.37        magrittr_2.0.2    R.cache_0.16.0   
#>  [5] rlang_1.0.1       fastmap_1.1.0     fansi_1.0.2       stringr_1.4.0    
#>  [9] styler_1.7.0      highr_0.9         tools_4.1.0       xfun_0.29        
#> [13] R.oo_1.24.0       utf8_1.2.2        cli_3.1.1         withr_2.4.3      
#> [17] htmltools_0.5.2   ellipsis_0.3.2    yaml_2.2.2        digest_0.6.29    
#> [21] tibble_3.1.6      lifecycle_1.0.1   crayon_1.4.2      purrr_0.3.4      
#> [25] R.utils_2.11.0    vctrs_0.3.8       fs_1.5.2          glue_1.6.1       
#> [29] evaluate_0.14     rmarkdown_2.11    reprex_2.0.1      stringi_1.7.6    
#> [33] compiler_4.1.0    pillar_1.7.0      R.methodsS3_1.8.1 pkgconfig_2.0.3

I have tried running RStudio as Administrator, following suggestion on StackOverflow. No difference.

Here is the the sessionInfo from the Windows 10 system.

sessionInfo()
#> R version 4.2.2 (2022-10-31 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 19044)
#> 
#> Matrix products: default
#> 
#> locale:
#> [1] LC_COLLATE=English_United States.utf8 
#> [2] LC_CTYPE=English_United States.utf8   
#> [3] LC_MONETARY=English_United States.utf8
#> [4] LC_NUMERIC=C                          
#> [5] LC_TIME=English_United States.utf8    
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] withr_2.5.0     digest_0.6.31   lifecycle_1.0.3 magrittr_2.0.3 
#>  [5] reprex_2.0.2    evaluate_0.19   highr_0.10      stringi_1.7.8  
#>  [9] rlang_1.0.6     cli_3.4.1       rstudioapi_0.14 fs_1.5.2       
#> [13] vctrs_0.5.1     rmarkdown_2.19  tools_4.2.2     stringr_1.5.0  
#> [17] glue_1.6.2      xfun_0.36       yaml_2.3.6      fastmap_1.1.0  
#> [21] compiler_4.2.2  htmltools_0.5.4 knitr_1.41
1 Like

This topic was automatically closed 54 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.

THis is a Rstudio IDE issue