how to launch shiny app in non-blocking way ?

The method runApp would always run in blocking way even I specify launch.browser=FALSE , does anyone know how can run I run shiny App in non-blocking way ? Because after launching shiny app, I still want to execute R code in R session.

You need to execute your shiny app in its own process. Either by opening two R sessions on your system, or using something callr :package: to launch your app in background from your R session.

The Job Pane in RStudio 1.2 is a great way to do that too:
https://solutions.rstudio.com/examples/jobs-overview/#shiny-app

Hope it helps.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.