Getting Started with Shiny

Colin Rundel



Colin Rundel

Associate Professor of the Practice

Department of Statistical Science

Duke University

Teaching Assistants

  • Shel Kariuki - STC WorldBank
  • Stephanie Zimmer - Abt Associates
  • Garrick Aden-Buie - RStudio
  • Carson Sievert - RStudio

Introduce yourself

We wont go around the room, but take the next couple of minutes to introduce yourself to your neighbors.

Some suggested topics,

  • Name

  • Where you are coming from

  • Why you are interested in learning Shiny

Workshop materials


Day 1

Time Activity
09:00 - 09:30 Welcome
09:30 - 10:30 Intro to Shiny
10:30 - 11:00 Coffee break
11:00 - 12:30 Basic Reactivity
12:30 - 13:30 Lunch break
13:30 - 15:00 Observers & reactives
15:00 - 15:30 Coffee break
15:30 - 17:00 Downloads

Day 2

Time Activity
09:00 - 10:30 Uploads & Dynamic UIs
10:30 - 11:00 Coffee break
11:00 - 12:30 shinydashboard & modules
12:30 - 13:30 Lunch break
13:30 - 15:00 Theming
15:00 - 15:30 Coffee break
15:30 - 17:00 Q&A + Wrapup


Username: conf22

Password: together!

Code of Conduct

All details are available at Please review them carefully.

You can report Code of Conduct violations in person (any rstudio::conf staff ), by email (, or by phone (844-448-1212). Please see the policy linked above for contact information.

Covid19 specific policies:

  • RStudio requires that you wear a mask that fully covers your mouth and nose at all times in all public spaces.

  • We strongly recommend that you use a correctly fitted N95, KN95, or similar particulate filtering mask; there is a limited supply available upon request.

Other useful info

  • There are gender neutral bathrooms by the National Harbor rooms.

  • The meditation room is located at National Harbor 9 (Open 8am - 5pm, Monday - Thursday)

    • The hotel also has a dedicated room behind reception.
  • The lactation room is located at Potomac Dressing Room (Open 8am - 5pm, Monday - Thursday)

  • Participants who do not wish to be photographed have red lanyards, please note everyone’s lanyard colors befor taking a photo and respect their choices.

Asking for help (Stickies)

I’m stuck

I’m working

I’m done

I have a general question

Other communication (Discord)

You should have received an email with an invitation and instructions for joining the conference’s discord server.

This workshop has a private channel under Workshops,


This is a great place to ask questions, post resources, memes, or most anything else before, during, and after the workshop.

Computational Environment

RStudio Cloud

You can use the following link to join the workshops RStudio cloud space,

Once you have joined you can then select the get-started-shiny assignment,

which should then create a copy and launch for you.

Cloud session

If everything is working you should see something very close to the following,

File organization

Project root:

  • slides/ - all slides and related materials

  • demos/ - sample code for each demo

  • exercises/ - starter code for each exercise

  • exercises/solutions/ - sample solution code for each exercise

  • data/ - example data sets used in demos and exercises