Literate programming with R Markdown

Literate programming is a technique for meshing source code with a human-readable explanation of its logic. This approach is used widely in data science and the social sciences to enable reproducible research and open access. In this workshop, we introduce the R Markdown document format and practice developing notebooks interweaving source code, output, and written text.

Benjamin Soltoff https://www.bensoltoff.com (University of Chicago)https://macss.uchicago.edu
11-16-2021

Overview

Literate programming is a technique for meshing source code with a human-readable explanation of its logic. This approach is used widely in data science and the social sciences to enable reproducible research and open access. In this workshop, we introduce rmarkdown and the R Markdown document format, and practice developing notebooks interweaving source code, output, and written text.

Objectives

Audience

This workshop is designed for individuals with a basic familiarity using R for data analysis.

Location

Room 295 in 1155 E 60th St.

Prework

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. Source code is available at https://github.com/css-skills/site, unless otherwise noted. 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 ...".

Citation

For attribution, please cite this work as

Soltoff (2021, Nov. 16). Computation Skills Workshop: Literate programming with R Markdown. Retrieved from https://css-skills.uchicago.edu/posts/2021-11-16-literate-programming-with-r-markdown/

BibTeX citation

@misc{soltoff2021literate,
  author = {Soltoff, Benjamin},
  title = {Computation Skills Workshop: Literate programming with R Markdown},
  url = {https://css-skills.uchicago.edu/posts/2021-11-16-literate-programming-with-r-markdown/},
  year = {2021}
}