— Enables you to weave together content and executable code into a finished document —
Quarto is a multi-language, next-generation version of R Markdown from Posit, and includes dozens of new features and capabilities while at the same being able to render most existing Rmd files without modification.
Create dynamic content with Python, R, Julia, and Observable.
Author documents as plain text markdown or Jupyter notebooks.
Publish high-quality articles, reports, presentations, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more.
Author with scientific markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.
RStudio integrated
Vs Code extensions
Jupyter notebooks
Text editor
Extensions are a powerful way to modify and extend the behavior of Quarto.
Shortcodes for icons etc.
Elements of a qmd ( ~ 25 minutes)
Install and setup ( ~ 20 minutes)
Making our first html report ( ~ 30 minutes)
Citations & cross-references ( ~ 30 minutes)
Making our first pdf report (~ 30 minutes)
Quarto
RStudio
R
python / julia / js
vscode / jupyter
Markdown type | file extension | code chunks |
---|---|---|
Plain markdown | .md |
no |
R markdown | .Rmd |
yes |
Quarto markdown | .qmd |
yes |
Pieces of code that will be execute on report rendering to include output in the report.
``` {{r}}
#| label: code-example
hist(mtcars$mpg)
```
These could also be inline code for incorporation into the text parts of a report.
Number of observations: `r nrow(mtcars)` .
Number of observations: 32
Code chunks can be provided inside the code chunk
```{r echo = TRUE, message = FALSE ```
```{r}
#| echo: true
#| message: false
```
Markdown Syntax | Output |
---|---|
|
italics and bold |
|
superscript2 / subscript2 |
|
|
|
verbatim code |
Source: RStudio - Markdown basics
Write a little bit about your self. A sentence or two about your background and education.
Create a list in your document, listing your favorite foods, at least the top three. Render it in html.
Try changing output to pdf.
10:00