O'Reilly logo

Practical Business Intelligence by Ahmed Sherif

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Formatting and publishing code using R Markdown

We have now reached the part of the chapter where we focus on delivering the fruits of our labor to our consumers, who will take this information back to their users and produce actionable intelligence from it. In order for them to do this, we need to deliver our results inside of a dynamic report. RStudio allows us to do this with R Markdown, which is a format that allows for reproducible reports with embedded R code that can be published into slide shows, Word documents, PDF files, and HTML web pages.

Getting started with R Markdown

R Markdown documents have the .RMD extension and are created by selecting R Markdown from the menu bar of RStudio, as seen here:

If this is the first time you are creating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required