Chapter 9 Shiny Apps

Shiny is a package from RStudio that can be used to build interactive web pages with R. While that may sound scary because of the words “web pages,” Shiny is geared to R users who have zero experience with web development, and you do not need to know any HTML/CSS/JavaScript.

You can do quite a lot with Shiny: think of it as an easy way to make an interactive web page, and that web page can seamlessly interact with R and display R objects (plots, tables, of anything else you do in R). To get a sense of the wide range of things you can do with Shiny, you can visit Dean Attali’s Shiny server (, which hosts a variety of Shiny apps.