Which way is best to publish the Shiny App for company internal use?

652 views
Skip to first unread message

Ethan Ji

unread,
Nov 9, 2016, 2:28:42 PM11/9/16
to Shiny - Web Framework for R
Hi,

We have developed a Shiny App and want to let everyone in our company access it by typing in the webpage address. Currently, we have a remote server where every employee can log in by their account.

We are just wondering which way is best to publish the App? Can we publish it on our remote server? When someone log into it, he can access the App by the webpage link? Thanks!

Ethan

Rafael Batista

unread,
Nov 10, 2016, 5:09:00 AM11/10/16
to Shiny - Web Framework for R
Hi Ethan.

I came across a similar issue in the past 2 months. I work in a company with very restrictive rules regarding data security. So IT doesnt allow me to have any sort of linux virtual box... and all the user input data need to stay locally (my shiny app uses .txt files inputed by the user).

So basically I cant host my shiny app externally... and I cant install a shiny server locally.

I spend 1 month researching into this e the best solution was to use R-portable + shiny + bat file to start.

I installed r-portable, I editted the profile to install all libraries in the r-portable libraries folder and than I used a bat file so people can just double-click and start the application.

It works perfectly. I create a zip file with everything packed and leaved in some random folder in our intranet so everyone can acess...

Only problem is that r-portable seems to be available only in 32-bits which makes the app run slower than in r studio.

Best regards!
Rafael
Message has been deleted

Ethan Ji

unread,
Nov 10, 2016, 9:34:39 AM11/10/16
to Shiny - Web Framework for R
Hi Rafael,

Thanks for your reply.

I am wondering if it is possible to host the link on our company's main server. Then, everyone access to the remote server can log into this link.

Ethan

Rafael Batista

unread,
Nov 10, 2016, 3:51:41 PM11/10/16
to Shiny - Web Framework for R
Hi Ethan.

Not sure if I understood your message. What do you mean by link? You are refering to your shiny app?

Ethan Ji

unread,
Nov 10, 2016, 5:11:00 PM11/10/16
to Shiny - Web Framework for R
Hi Rafael,

If we publish our Shiny App, everyone can access it by using the website address like http://, I am wondering if we can publish it on our own server, then only internal people can use that link.

Ethan


On Thursday, November 10, 2016 at 3:51:41 PM UTC-5, Rafael Batista wrote:

Rafael Batista

unread,
Nov 11, 2016, 4:56:21 AM11/11/16
to Shiny - Web Framework for R
I believe that its possible. Maybe one way is to have a linux machine connected to your company's network. Or maybe its possible to do asking IT to install a virtual machine with linux... than you run shiny server on it.

I wanted to do this but the IT dpt does not allow me to go further.

Anyway good luck!

Ethan Ji

unread,
Nov 11, 2016, 4:41:43 PM11/11/16
to Shiny - Web Framework for R
Hi Rafael,

Thanks for your reply. I will talk to the IT department and see what they will say.
Reply all
Reply to author
Forward
0 new messages