问题
How can I launch the Shiny App, "my_shiny" through the terminal.
Also, how do I terminate or close the app through the terminal only.
回答1:
Try this:
Rscript -e 'library(methods); shiny::runApp("my_shiny/", launch.browser = TRUE)'
来源:https://stackoverflow.com/questions/35986731/launch-and-terminate-shiny-app-through-terminal