Launch and terminate shiny app through terminal

人盡茶涼 提交于 2020-04-10 04:31:03

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!