Is there a way to deploy R shiny apps as web page using windows server?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 20:02:10

If you put below code as last lines:

app <- shinyApp(ui,server)
runApp(app,host="0.0.0.0",port=5050)

Then to run you Shiny App in any other machine just give the IP of the machine where the code is deployed and the port number which is 5050 in this case. So, for example if you code is deployed on a machine with IP: 123.12.123.12 then for any other machine just write 123.12.123.12:5050 on any web browser.

The only caveat is the machine where the code is deployed and the machine where you need to use these codes should be in same domain.

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