It’s So Shiny!

Shiny is an R package that allows you to easily create interactive web applets using R.

  • Produced by RStudio.
  • Code can be entirely within R (or customized with HTML/Javascript).
  • Take a look at Rstudio’s showcase of shiny applets.

Example

Shiny Documentation and Help

Installing Shiny

install.packages("shiny")

Your Turn

  • Download the code file for the example applet, Example_01.R.
  • Create a new folder named “dataforshiny” in the same directory as Example_01.R.
  • Download the sample.csv file and put it in the data folder.

Run the applet

Example_01 app