R Markdown is a framework for writing versatile, reproducible reports from R. With R Markdown, you write a simple plain text report and then render it to create polished output. You can:
Transform your file into a pdf, html, or Microsoft Word document—even a slideshow—at the click of a button.
Embed R code into your report. When you render the file, R will run the code and insert its results into your report. Use this feature to add graphs and tables to your report: if your data ever changes, you can update your figures by re-rendering the report.
Make interactive documents and slideshows. Your report becomes interactive when you embed Shiny code.
In this series, we walk through lesser-known tips and tricks to help you work more effectively and efficiently in R Markdown. This first post focuses on working with R Markdown in the RStudio IDE.
This post introduces flipbookr, a package that creates flipbooks, or "code movies", from code. Flipbooks show how incremental additions in code pipelines change the output, helping audiences digest...