01 - Setup and Introduction to Shiny

R Workshops
Fall 2014

It's So Shiny!

Picture of Sample Applet

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 customize with HTML/JavaScript)
  • Take a look at RStudio's showcase of Shiny applets

Shiny Documentation and Help

Installing Shiny

install.packages("shiny")

Open up the file 01-Setup.R on the website and run the first code chunk to get setup for this workshop. You should have the packages shiny, ggplot2, lubridate, and plyr loaded.

A Simple Example

library(shiny)
runApp("shinyApps/01_Hello")

Picture of Hello Shiny! Applet