The tutorials on this page are primarily designed for users who are new to Shiny and want a guided introduction. If you use Shiny on a regular basis, you may want to skip these tutorials and visit the articles section where we cover individual Shiny topics at a more advanced level.
We created a free course on DataCamp to help you get started with Shiny! For an interactive, hands-on introduction to Shiny, make sure to check this course out.
How to Start Shiny tutorial
The How to Start Shiny video series will take you from R programmer to Shiny developer. Watch the complete tutorial, or jump to a specific chapter by clicking a link below. The entire tutorial is two hours and 25 minutes long. Download the slides and exercises here: Part 1, Part 2, and Part 3.
Part 1 - How to build a Shiny app
Part 2 - How to customize reactions
Videos from rstudio::conf and webinars
See the Shiny Essentials, Advanced Shiny, and relevant rstudio::conf 2017 videos at www.rstudio.com/resources/webinars/.
In addition to the three part video tutorial above, we especially recommended that those new to Shiny review the following videos:
- Effective Reactive Programming – Part 1 & Part 2
- Interactive Graphics with Shiny
- Understanding Shiny Modules
- Debugging techniques
The written Shiny tutorial
If you prefer a written tutorial over video, this is the right place for you. However note that the video tutorial contains more advanced content than what the written tutorial covers.
This seven lesson tutorial will teach you the basics of Shiny in a self-paced format. Each lesson takes about 20 minutes and teaches one new Shiny skill. By the end of the lessons, you will know how to build and deploy a Shiny app.
- Lesson 1 - Welcome to Shiny
- Lesson 2 - Layout the user interface
- Lesson 3 - Add control widgets
- Lesson 4 - Display reactive output
- Lesson 5 - Use R scripts and data
- Lesson 6 - Use reactive expressions
- Lesson 7 - Share your apps
R powered web applications with Shiny
Zev Ross has created a very thorough online introduction to Shiny tutorial with over 40 example apps. You can find the tutorial here.
Know of other useful Shiny tutorials?
Not sure where to get started?
You will get the most out of these tutorials if you already know how to program in R, but not Shiny.
If R is new to you, you may want to check out the learning resources at www.rstudio.com/training before taking one of these tutorials. If you are not sure whether you are ready for Shiny, try our quiz.