On Sunday, December 10, 2023, 12:00 - 2:00 AM, Franklin, Colenda, and other Libraries applications may be unavailable due to a necessary system upgrade. Articles+ will be unaffected.

  • Workshop

R Advanced: Code and Author in Markdown

Tired of jumping between R and a text editor? This workshop will get you started using R Markdown to write and export a formatted assignment or paper.

Registration is required for this workshop (online and in-person).

January 29, 2024, 3:30pm - 5:00pm
Yablon Financial Resources Lab, Room 244, Van-Pelt Dietrich Library Center
Open to Penn Students, Faculty, and Staff
Logo for R software


  1. Structure text
  2. Format code, visualizations, and tables for display
  3. Export a submission-ready file

Activity expectations

  • Navigate code with instructor: 50 min.
  • Solo/Group practice: 20 min.
  • Lecture: 20 min.


  • Install R and RStudio OR use Penn Libraries’ on-site computers
  • Get comfortable navigating RStudio and reading R code
  • Activate your Penn+Box account
  • Install packages in R: install.packages(c("ggplot2", "kableExtra", "rmarkdown", "stargazer"), dep = TRUE)
  • Optional: Check for and/or install a LaTeX distribution (e.g.: TinyTeX). LaTeX will let you create PDFs from R Markdown. You can participate fully without it.