As you saw in previous sections, you can work directly with our R Markdown file for the presentation (presentation.Rmd, in our case). However, you can be more productive if you first develop the content for the presentation as you would normally work with R, taking advantage of any configurations and tooling you may be accustomed to. When the code has been finalized, you translate only the necessary parts into the R Markdown file. Even though it seems counter intuitive because it would be more work, it's actually faster to work this way just because you're used to working with R more than with R Markdown, and you'll think about producing modular code that can be plugged into your presentation. ...
Developing graphs and analysis as we normally would
Get R Programming By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.