Shiny Server enables users to host and manage Shiny applications on the Internet. Shiny is an R package that uses a reactive programming model to simplify the development of R-powered web applications. Shiny Server can manage R processes running various Shiny applications over different URLs and ports. Using Shiny Server offers a variety of benefits over simply running Shiny in R directly. These features allow the administrator to:
- Host multiple applications simultaneously, each at its own URL.
- Support web browsers that don’t support WebSockets, including Internet Explorer 8 & 9.
- Enable system users to develop and manage their own Shiny applications.
- Ensure that R processes that crash or are terminated automatically restart for the next user requesting the application.
This guide describes Shiny Server Professional, which offers, among other things, the following additional features:
- Ensure your applications are protected and can only be accessed by specific, authenticated users.
- Scale a Shiny application to support many users by empowering a Shiny application to be backed by multiple R Shiny processes simultaneously.
- Gain insight into the performance and usage of your Shiny applications by monitoring them using a web dashboard.
- Securely encrypt data being sent to and from your applications using SSL.
- Understand and manage current and historical application resource utilization to better configure and optimize your applications.
- Fine-tune the resources devoted to each user of an application by configuring multi-process Shiny applications based on the number of concurrent sessions.
- Monitor the health of your Shiny Server using the health check endpoint.
Check out our video on Shiny Server here.
Installing R and Shiny Server
In order to use Shiny Server, you’ll need to first install R 2.11.1 (or higher). If you don’t already have R, you can download it here.
Installing Shiny Server
You can find instructions and downloads for Shiny Server Open-Source here.
To install Shiny Server Pro, check the link included on the trial page or in the email sent with your license key. If you don’t have this link, please contact Support and let us know.
General Information about Shiny Server
Shiny Server Release Notes:
Shiny Server Release History:
Shiny Server Server Pro Webinars:
Managing Shiny Server Pro
We’d recommend reading through our Shiny Server Pro Admin Guide for most of the information you’ll need. We’ve highlighted some important sections and additional guides below:
Introduction to Shiny Server:
Shiny Server Quick Start Guides:
Root Requirements for Shiny Server:
Using different libraries for different applications
Concurrent Users in Shiny Server Pro:
Running Shiny Server with a Proxy
Authentication and Security
Requiring User Authentication
Configuring Shiny Server Pro with LDAP or Active Directory
Configuring Shiny Server Pro with PAM Authentication
How to create User Privileges
Host a secure Shiny Server Pro:
Scaling and Performance in Shiny Server Pro:
Performance tuning in Shiny applications
Performance Tuning in Shiny Server Pro:
Using the Utilization Scheduler
Hosting an application supported by multiple R processes
Getting Support with Shiny Server
If needed, you can create and track your support tickets via our form here. Note that this is only for customers who have purchased or are trialing a Pro license.
For our open-source customers, we provide best-effort support on our open-source forums here.
How do I find out what’s new from RStudio?
The best way to stay on top of what we are doing is to subscribe to our blog.