Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

R Markdown

Combine R code and narrative, and publish it as a report.

An R Markdown block combines narrative text with R code chunks. Write R code in chunks that start with ```{r} and end with ```, and run the block to see the output, including tables and charts, in the block.

To publish the result as a report, use the publish report option in the block. Published reports can be shared and exported.

Last updated

Was this helpful?