Share Web Applications with RStudio

Shiny server, shinyapps.io, and RStudio Connect are all ways to share web applications and interactive documents. Once you’ve written a Shiny application, you can either share your app to run locally or make it available to anyone who has a web browser. To make it available via web browser, you can either host the application on your own server or on an RStudio server virtually. Below is a brief overview of the available RStudio products and how they differ. For a more comprehensive comparison see the comparison on the RStudio website, ‘Deploying Shiny Apps to the Web,’ and ‘Hosting and Deployment.’

More information about Shiny for RStudio, including video and written tutorials, here.

RStudio Products

Shiny server

An open source, back end program that builds a web server designed to host Siny applications. On Shiny Server you can host your apps in a controlled environment, like inside your organization, so your Shiny app (and whatever data it needs) will never leave your control. You can also use Shiny Server to make your apps available across the Internet when you choose. Shiny Server will host each app at its own web address and automatically start the app when a user visits the address. When the user leaves, Shiny Server will automatically stop the app. More information about Shiny Server features here.

Shinyapps.io

Another way to share Shiny apps and interactive documents if you prefer to have RStudio host the Shiny applications. You don’t need to own a server, or know how to configure a firewall to deploy and manage applications in the cloud, and you can easily deploy to the web at the push of a button (or one line of R code). No hardware, installation, or annual purchase contract required. When using shinyapps.io, your code and data must be copied to RStudio servers since it is hosted by RStudio. More information about using shinyapps.io here.

RStudio Connect

RStudio’s publishing platform. You can share Shiny applications, R Markdown reports, dashboards, plots, APIs, and more. Use push-button publishing from the RStudio IDE, scheduled execution of reports, and flexible security policies. More information about RStudio Connect here. Also see the RStudio Connect Demo for NOAA Fisheries to learn how RStudio Connect can be used by NOAA scientists.