Installing Shiny Server Open Source

Open Source Shiny Server provides a platform on which you can host multiple Shiny applications on a single server, each with their own URL or port. It enables you to support non-websocket-enabled browsers like Internet Explorer 10, and is available under an AGPLv3 license.

We currently provide pre-compiled binaries for Ubuntu 12.04 (or later), RedHat/CentOS 6 and 7, and SUSE Linux Enterprise Server 11+. The instructions for downloading and installing these binaries are available below. For other Linux distributions, we recommend you follow the instructions for building on non-supported distributions.

Once you have Shiny Server downloaded and installed, you can view the Administrator’s Guide for more information about managing and configuring Shiny Server, or use the mailing list to get support.

NOTE: if you do not add the CRAN Debian or Ubuntu repository as described above this command will install the version of R corresponding to your current system version. Since this version of R may be a year or two old it is strongly recommended that you add the CRAN repositories so you can run the most up to date version of R.

You’ll also need to install the Shiny R package before installing Shiny Server:

If you’re using a version of R older than R 3.2.2, you may need to take additional actions as described here in order successfully download and install the package securely. Alternatively, you can download the package insecurely in any version of R by using HTTP instead of HTTPS for the CRAN mirror.

Once you’ve installed R and the Shiny package, execute the following commands in a terminal window to install gdebi (which is used to install Shiny Server and all of its dependencies) and Shiny Server.

RedHat/CentOS 6+

We currently only provide a pre-built binary for the 64 bit architecture. Running on other architectures or versions will require building from source.

Before installing Shiny Server, you must install R and the Shiny R package. To install R, you can use the Extra Packages for Enterprise Linux(EPEL) repository. If you don’t already have this repository available you should add it to your system using the instructions found on the Fedora EPEL website.

After enabling EPEL you should then ensure that you have installed the version of R available from EPEL. You can do this using the following command:

$ sudo yum install R

You’ll also need to install the Shiny R package before installing Shiny Server:

If you’re using a version of R older than R 3.2.2, you may need to take additional actions as described here in order successfully download and install the package securely. Alternatively, you can download the package insecurely in any version of R by using HTTP instead of HTTPS for the CRAN mirror.

Once you’ve installed R and the Shiny package, execute the following commands in a terminal window to install Shiny Server.

Download and Install
To download and install RStudio Server open a terminal window and execute the commands

If you’re using a version of R older than R 3.2.2, you may need to take additional actions as described here in order successfully download and install the package securely. Alternatively, you can download the package insecurely in any version of R by using HTTP instead of HTTPS for the CRAN mirror.

Download and Install
To download and install RStudio Server open a terminal window and execute the commands