AIM RSF NovembeR workshops | Literate programming with R Markdown
Channel: The Turing Way
Date: 2023-01-16

This is the fifth of a series of workshops on R offered by the AI for Multiple Long-term Conditions Research Support Facility in November 2022 (NovembeR) and January 2023.

This fifth workshop took place on 11 January 2023 and is an introduction to literate programming using R Markdown documents. It covers the benefits and applications of combining narrative text, code, and code outputs in a single document and provides guidance on the basics of formatting text with Markdown, controlling the output of R Markdown documents with YAML headers, and writing code either in-line as part of the narrative text or in separate code chunks. There is also a demo of how to use templates to write academic papers using R Markdown.

This is a live coding workshop using the Data Carpentry lesson R for Social Scientists (https://datacarpentry.org/r-socialsci/).

If you are a complete beginner, please start with the recording of the first workshop (https://youtu.be/5ogP8AAzQ10).

The slides and other materials used in the workshop are available on the AIM RSF GitHub repository for training (https://github.com/aim-rsf/training/tree/main/r-training).