Skip to main content
Open Access Publications from the University of California

Web Application Teaching Tools for Statistics Using R and Shiny


Technology plays a critical role in supporting statistics education, and student comprehension is improved when simulations accompanied by dynamic visualizations are employed. Many web-based teaching tool applets programmed in Java/Javascript are publicly available (e.g.,, These provide a user-friendly interface which is accessible and appealing to students in introductory statistics courses. However, not all statistics educators are fluent in Java/Javascript and may not be able to tailor these apps or develop their own. Shiny, a web application framework for R created by RStudio, facilitates applet development for educators who are familiar with R. We illustrate the utility, convenience, and versatility of Shiny through our collection of 17 freely available apps covering a range of topics and levels (found at Our Shiny source code is publicly available so that anyone may tailor our apps as desired. We provide feedback on how our apps have been used in statistics classes including some challenges that were encountered. We also discuss feasibility on building, launching, and deploying Shiny apps. A brief tutorial on installing and using Shiny is provided in the appendix. Some teaching materials based on our Shiny apps are also included in the appendix.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View