在内网发布 Rstudio Shiny App [英] Publish Rstudio Shiny App in intranet
问题描述
我正在尝试构建一个 Rstudio/Shiny 应用程序并将其发布在我们的内部网中,以便我们办公室的其他人都能看到它.我是一个 Windows 人,关于如何在 Linux 环境中设置闪亮服务器的在线说明对我来说有点困难.有没有一种简单的方法可以让我在不搞乱 Linux 的情况下实现这个目标.即使我必须这样做,是否有一种简单的方法可以让我们公司内的人而不是互联网上的每个人都可以使用我的网页.谢谢!
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 to setup a shiny server within Linux environment is a bit difficult for me. Is there an easy way that I can could accomplish this goal without messing up with Linux. Even if I have to do so, is there an easy way to just have my webpage available to people within our company, not everyone on the internet. Thanks!
推荐答案
为此你不需要闪亮的服务器,你只需要运行一个带有闪亮的 R 实例
you don't need shiny server for this, you just need to run an R instance with shiny
http://rstudio.github.io/shiny/tutorial/#ui-and-server
shiny 自动在本地主机上运行它...如果您希望您的大学能够访问它,您需要将其更改为您自己的 ip..
shiny automatically runs it at local host... you need to change it to your own ip if you want your colleges be able to access it..
ip="192.168.178.10" # change this!
runApp("../microplate",host=ip) # change microplate to the name of your shiny package/app
这篇关于在内网发布 Rstudio Shiny App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!