ari: The Automated R Instructor

We present the ari package for automatically generating technology-focused educational videos. The goal of the package is to create reproducible videos, with the ability to change and update video content seamlessly. We present several examples of generating videos including using R Markdown slide decks, PowerPoint slides, or simple images as source material. We also discuss how ari can help instructors reach new audiences through programmatically translating materials into other languages.

Sean Kross , Jeffrey T. Leek , John Muschelli

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at

CRAN packages used

ari, text2speech, aws.polly, tuneR, ariExtra, animation, aws.signature, rmarkdown, xaringan, webshot, rgoogleslides, readOffice, officer, pdftools, docxtractr, mscstts, googleLanguageR

CRAN Task Views implied by cited packages

ReproducibleResearch, WebTechnologies, Graphics, TeachingStatistics


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Kross, et al., "The R Journal: ari: The Automated R Instructor", The R Journal, 2020

BibTeX citation

  author = {Kross, Sean and Leek, Jeffrey T. and Muschelli, John},
  title = {The R Journal: ari: The Automated R Instructor},
  journal = {The R Journal},
  year = {2020},
  note = {},
  doi = {10.32614/RJ-2020-023},
  volume = {12},
  issue = {1},
  issn = {2073-4859},
  pages = {258-265}