R Shiny - Access an App on my Local Machine

后端 未结 1 1929
隐瞒了意图╮
隐瞒了意图╮ 2021-02-08 21:34

I can not avoid windows at work. As such, I have a second machine that I use to do all of my heavy lifting and data analysis. In an ideal world, I could create a Shiny app and

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-08 22:20

    It should be sufficient to set the host argument to 0.0.0.0 to allow it to broadcast beyond localhost, e.g.

    runApp("app_name",host="0.0.0.0",port=3168)
    

    Then you can visit http://machine2DNSname:3168 to see it.

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