How to host Shiny apps on windows server?

拟墨画扇 提交于 2019-12-03 01:48:15

Hosting of Shiny Apps is possible on Windows!

At work, we host several production shiny dashboards, so it is definitely possible. You can host more Shiny apps by extending the i.) solution you mentioned, and using different ports for the Apps. The steps that you need to take are listed here:

  • make sure that the port is open in the local (evtl. also remote) firewall for TCP/IP connections
  • run a "scheduled task" on the local machine that starts a local R session as described in i.), make sure that the task does time-out and restarts if needed

Once these settings are in place, you can already test the Shiny App, first locally, and also from the remote station. Editing the shiny app can be done also live, in what the GUI is concerned, but if you want to refresh the data, you will have to restart the R command process. Tip: You should also have an index webpage where you list all running apps with their ports

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