The typeR package provides excellent support for Quarto presentations, allowing you to create engaging live coding demonstrations for:
The package includes ready-to-use Quarto presentation examples:
typeR works with various Quarto presentation
formats:
Most popular format for HTML presentations. Supports themes, transitions, and interactive features.
While the typing effect works during development, the final PowerPoint won’t show animation.
For presentations, slower typing is often better:
Prevent long outputs from scrolling off screen:
During live presentations, pause to answer questions:
---
title: "Data Analysis in R"
format:
revealjs:
theme: moon
transition: slide
---
## Introduction
Today we'll analyze the mtcars dataset.
## Load Data
# ```{r}
# data(mtcars)
# head(mtcars, 3)
# ```
## Summary Statistics
# ```{r}
# summary(mtcars$mpg)
# ```
## Visualization
# ```{r}
# plot(mtcars$wt, mtcars$mpg,
# xlab = "Weight", ylab = "MPG",
# main = "Fuel Efficiency vs Weight")
# ```
## Model
# ```{r}
# model <- lm(mpg ~ wt, data = mtcars)
# summary(model)
# ```During your presentation:
library(typeR)typeRun("data-analysis.qmd", delay = 0.08)Keep your workspace clean by using a separate environment:
Solution: Increase the delay parameter
Solution: Use max_print or modify your code to show less
Solution: Press ESC, then choose option 2
?typeRun for all
parametersinst/examples/
directorytypeR makes Quarto presentations more engaging and professional. The combination of:
Makes it an excellent tool for anyone presenting R code.
Happy presenting! 🎉