R Markdown

R Markdown is an authoring format that enables easy creation of dynamic documents, presentations, and reports from R. It combines the core markdown syntax with embedded R code chunks.

The rmarkdown R package helps you create dynamic analysis documents that combine code, rendered output (such as figures), and prose. You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:

You can deploy an R Markdown document to Connect Cloud from GitHub, Positron or VS Code, RStudio, or the command line. Your project needs a primary file (e.g., report.Rmd). If you publish from GitHub, it also needs a renv.lock or manifest.json file.

See Publish an R Markdown document to Connect Cloud for the steps for each method.

Repository examples: