knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
If you are new to R Markdown, we recommend you start with R Markdown: The Definitive Guide to get an overview. Part I introduces how to install the relevant packages, and provides an overview of R Markdown, including the possible output formats, the Markdown syntax, the R code chunk syntax, and how to use other languages in R Markdown.
Learn more about how to start using Distill at https://rstudio.github.io/distill.
Look also at the Examples page for a website collection using distill
The R Markdown cheatsheet is a one page (two-sided) reference guide you can download as a quick reference while you work.
You can access it from within the RStudio IDE:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.