有几种方式: 1. Shinyapps.io 2. Shiny server 3. Shiny Server Pro 4. Rstudio Connect
本课程介绍使用Shinyapps.io进行shiny部署,选择Shinyapps.io将应用程序部署到Web,不需要自己的服务器,只需要简单的代码,就可以轻松的部署到Web
-
首先要注册,有github账户也可以使用github账户进行注册
-
下载rsconnect包
install.packages('rsconnect’)
library(rsconnect)
进行shiny配置


然后在Rstudio中运行
- 编写好shiny app 之后,进行部署
library(rsconnect)
deployApp()
网友评论