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!
我正在尝试构建一个Rstudio / Shiny App并将其发布到我们的Intranet中,以便我们办公室中的其他人都可以看到它。我是一个Windows家伙,关于如何在Linux环境中设置闪亮服务器的在线说明对我来说有点困难。有没有一种简单的方法可以在不搞乱Linux的情况下实现这一目标。即使我必须这样做,是否有一种简单的方法可以让我的网页可供我们公司内的人使用,而不是互联网上的每个人。谢谢!
3 个解决方案
#1
11
you don't need shiny server for this, you just need to run an R instance with shiny
你不需要闪亮的服务器,你只需要运行一个闪亮的R实例
http://rstudio.github.io/shiny/tutorial/#ui-and-server
http://rstudio.github.io/shiny/tutorial/#ui-and-server
http://shiny.rstudio.com/
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 ..
ip="192.168.178.10" # change this!
runApp("../microplate",host=ip) # change microplate to the name of your shiny package/app
#2
2
RStudio also has a hosted Shiny option that is currently in Alpha. You can sign up here https://www.shinyapps.io/admin/#/signup
RStudio还有一个托管的Shiny选项,目前在Alpha中。您可以在此处注册https://www.shinyapps.io/admin/#/signup
With hosted Shiny the intention is to let developers focus on building applications while RStudio will worry about managing servers, monitoring performance, and ensuring uptime.
托管Shiny的目的是让开发人员专注于构建应用程序,而RStudio将担心管理服务器,监控性能和确保正常运行时间。
#3
0
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)
(如果你的ui.R和server.R在同一个文件中)
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)
(如果你有一个ui.R和一个server.R文件作为shinyapp文件夹中的2个文件)
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:
之后,我发送我的IP,然后是我设置为超链接的端口。假设我的IP是192.168.178.10,我将发送:
http://192.168.178.10:1234
Monitoring a shiny app shared in my internal network
监控内部网络*享的闪亮应用
#1
11
you don't need shiny server for this, you just need to run an R instance with shiny
你不需要闪亮的服务器,你只需要运行一个闪亮的R实例
http://rstudio.github.io/shiny/tutorial/#ui-and-server
http://rstudio.github.io/shiny/tutorial/#ui-and-server
http://shiny.rstudio.com/
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 ..
ip="192.168.178.10" # change this!
runApp("../microplate",host=ip) # change microplate to the name of your shiny package/app
#2
2
RStudio also has a hosted Shiny option that is currently in Alpha. You can sign up here https://www.shinyapps.io/admin/#/signup
RStudio还有一个托管的Shiny选项,目前在Alpha中。您可以在此处注册https://www.shinyapps.io/admin/#/signup
With hosted Shiny the intention is to let developers focus on building applications while RStudio will worry about managing servers, monitoring performance, and ensuring uptime.
托管Shiny的目的是让开发人员专注于构建应用程序,而RStudio将担心管理服务器,监控性能和确保正常运行时间。
#3
0
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)
(如果你的ui.R和server.R在同一个文件中)
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)
(如果你有一个ui.R和一个server.R文件作为shinyapp文件夹中的2个文件)
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:
之后,我发送我的IP,然后是我设置为超链接的端口。假设我的IP是192.168.178.10,我将发送:
http://192.168.178.10:1234
Monitoring a shiny app shared in my internal network
监控内部网络*享的闪亮应用