R Markdown with shiny app doesn not render

Hi everyone,

I am new to shiny and ran into some problems today.

I want to embed a shiny app inside an R Markdown HTML document. When I try to render a document with the "01_example" included it gets stuck at the following message:

Loading required package: shiny

Listening on http://127.0.0.1:6008

I have no problems running a shiny app from the console. See my session info below:

R version 4.3.2 (2023-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 22.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.10.0 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=de_DE.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=de_DE.UTF-8   
 [6] LC_MESSAGES=en_US.UTF-8    LC_PAPER=de_DE.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       

time zone: Europe/Busingen
tzcode source: system (glibc)

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

other attached packages:
[1] shiny_1.8.0

loaded via a namespace (and not attached):
 [1] knitr_1.45        cli_3.6.1         xfun_0.41         rlang_1.1.2       promises_1.2.1    textshaping_0.3.7 jsonlite_1.8.7    xtable_1.8-4     
 [9] htmltools_0.5.7   httpuv_1.6.12     ragg_1.2.6        sass_0.4.7        rmarkdown_2.25    rsconnect_1.1.1   evaluate_0.23     jquerylib_0.1.4  
[17] ellipsis_0.3.2    fontawesome_0.5.2 fastmap_1.1.1     yaml_2.3.7        lifecycle_1.0.4   memoise_2.0.1     compiler_4.3.2    Rcpp_1.0.11      
[25] rstudioapi_0.15.0 later_1.3.1       systemfonts_1.0.5 digest_0.6.33     R6_2.5.1          magrittr_2.0.3    bslib_0.6.1       tools_4.3.2      
[33] withr_2.5.2       mime_0.12         cachem_1.0.8

Does anyone have a clue what could be going wrong here? Any help is appreciated.

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.