An introduction to Literate Programming with R and Quarto
Jan 19, 2024
Literate programming is an approach to programming in which code, documentation, and results are all interwoven into a single document.
Quarto is a document generation system that supports literate programming. It is designed to support a wide range of document types (HTML, PDF, Word, etc.) and programming languages (R, Python, Julia, etc.).
In Quarto, prose is written in Markdown. Markdown is a lightweight markup language that is easy to read and write.
Markdown | HTML |
---|---|
# Heading |
Heading |
**bold** |
bold |
footnote^[Footnote info...] |
footnote1 |
- bullets |
- bullets |
[links](https://quarto.org) |
links |
Code blocks in Quarto introduce sections where code can be executed.
In lab 00, you will create a basic Quarto document and explore some of the features of Quarto.
Writing with code | Quantitative Text Analysis | Wake Forest University
Footnote info…