How to host Shiny apps on windows server?

后端 未结 1 1808
萌比男神i
萌比男神i 2021-02-04 19:49

I have developed some shiny apps which I want to make available to a few selected internal users for testing purposes and continued development.

Deploying the apps on th

1条回答
  •  既然无缘
    2021-02-04 20:22

    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

    0 讨论(0)
提交回复
热议问题