Launch Shiny App Without Blocking the Session

· 2018/02/13 · 1 minute read

This is a neat trick I found on Tyler Morgan-Wall’s Twitter and is originally attributed to Joe Cheng. You can run any Shiny app without blocking the session. My helper function to run ShinyStan without blocking is below:

launch_shinystan_nonblocking <- function(fit) {
    launch_shinystan(fit) #You can replace this with any other Shiny app

Hope that helps!

All content is licensed under the BSD 2-clause license. Source files for the blog are available at

This site uses google analytics to find out how many people visit it and some related information. You can opt out of google analytics by installing a browser add-on.