How do I install Shiny server?

Posted October 31, 2014 6.6k views

I’d like to install Shiny Server ( on a Digital Ocean droplet. How would I go about doing this?

edited by ltagliaferri

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

To install the stable version from CRAN, simply run the following from an R console:

There is now a tutorial (written by me) on DigitalOcean about how to set up Shiny Server

by Dean Attali
[Shiny]( is an R package that allows users to convert R code into an interactive webpage. [Shiny server]( is a server provided by RStudio that can be used to host and manage Shiny applications on the web. Other than hosting Shiny applications, Shiny Server can also host [interactive R markdown documents]( In this guide, we will learn how to set up the open source Shiny Server on a Dig


I wonder if it is possible to set up a Shiny Server on a droplet that can load and modify a DigitalOcean-hosted Database? The most likely scenario, in my case, is to set up a PostgreSQL-database and (if possible) manage it with the RPostgreSQL-package