Difference between Shiny Server Open Source and shiny package

491 views
Skip to first unread message

Jan

unread,
May 28, 2014, 8:41:29 AM5/28/14
to shiny-...@googlegroups.com
Hi,
Can anyone explain what is the difference between shiny R package and Shiny Server Open Source?
As for now I know the installation process is different, and server version is only for linux. Also the first one is on GPL-3 while server is on AGPL-3.
But technically I can run 10x R.exe and host 10 shiny Apps so as of now I don't see any difference...
Such question could be provided somewhere in the FAQ.
Regards

Joe Cheng

unread,
May 28, 2014, 4:43:59 PM5/28/14
to Jan, shiny-...@googlegroups.com
1) Each R.exe process can only host a single Shiny app, and each port can only be used by a single R process. So you'd need 10 different ports, one for each Shiny app. Shiny Server on the other hand can host multiple apps on the same port.

2) If the R.exe process terminates abnormally (e.g. an error at the wrong time) then your app will be down until you restart it. Shiny Server knows when apps go down and can bring them back up the next time someone tries to connect.

3) IE8 and 9 don't work with Shiny at all unless you have Shiny Server. This is because Shiny uses websockets to communicate with the browser, which IE didn't support until IE10. Shiny Server bridges the gap using older technologies to emulate websockets.

By the way, even when using Shiny Server, you still need R and the Shiny package installed on the server. Think of Shiny Server as a layer above the multiple R processes; it starts and stops these R processes and routes traffic to them, but doesn't replace them.


--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jan

unread,
May 28, 2014, 4:51:15 PM5/28/14
to shiny-...@googlegroups.com, Jan
Thank you for detailed answer.
Reply all
Reply to author
Forward
0 new messages