Publish Rstudio Shiny App in intranet

后端 未结 3 2027
猫巷女王i
猫巷女王i 2021-01-31 06:34

I am trying to build a Rstudio/Shiny App and post it in our intranet so that everyone else in our office could see it. I am a windows guy, and the instructions online about how

3条回答
  •  逝去的感伤
    2021-01-31 07:03

    I am sharing apps using the following:

    runApp(list(ui=ui, server=server), host="0.0.0.0", port=1234)
    

    (if your ui.R and server.R are in the same file)

    runApp("C:/shinyapp", host="0.0.0.0", port=1234)
    

    (if you have an ui.R and a server.R files as 2 files in the shinyapp folder)

    After, I send my IP followed by the port that I set up as an hyperlink. Assuming that my IP is 192.168.178.10, I will send:

    http://192.168.178.10:1234

    Monitoring a shiny app shared in my internal network

提交回复
热议问题