A strength of RStudio is its support for reproducible analyses with R Markdown vignettes. These allow users to mix text with code in
R,
Python,
Julia, shell scripts,
SQL,
Stan,
JavaScript,
C,
C++,
Fortran, and others, similar to
Jupyter Notebooks. R Markdown can be used to create dynamic reports that are automatically updated when new data become available. These reports can also be exported in various formats, including
HTML,
PDF,
Microsoft Word, and
LaTeX, with templates specific to the requirements of many scientific journals. R Markdown vignettes and Jupyter notebooks make the data analysis completely reproducible. R Markdown vignettes have been included as appendices with tutorials on
Wikiversity. In 2022, Posit announced an R Markdown-like publishing system called
Quarto. In addition to combining results of R, code and results using
Python,
Julia, Observable JavaScript, and
Jupyter notebooks can also be used in Quarto documents. Compared to the file extension .Rmd that R Markdown has, Quarto documents have the file extension .qmd. One difference between R Markdown files and Quarto documents is defining options in code chunks. In R Markdown, they would be inline within the curly brackets. ```{r chunk_name, echo=FALSE, warning=FALSE} print(42) ``` In contrast, Quarto documents define the chunk options below the curly brackets, prefixed using a
pound character and
vertical pipe (or "hash-pipe"). ```{r} #| label: chunk_name #| echo: false #| warning: false print(42) ``` == Licensing model ==