Skip to Content
R for Everyone: Advanced Analytics and Graphics, 2nd Edition
book

R for Everyone: Advanced Analytics and Graphics, 2nd Edition

by Jared P. Lander
June 2017
Beginner to intermediate
560 pages
17h 32m
English
Addison-Wesley Professional
Content preview from R for Everyone: Advanced Analytics and Graphics, 2nd Edition

28. Rich Documents with RMarkdown

RMarkdown has quickly become the preferred means of communicating results from R, eclipsing LaTeX due to RMarkdown’s simplicity to write and that it compiles to many different formats, including HTML, PDF, Microsoft Word, slideshows and Shiny apps. The RMarkdown format is extendable and templated, enabling customized documents. The workflow for writing RMarkdown is similar to that for LaTeX as detailed in Chapter 27: Normal text (flavored with Markdown) is written and R code is put in chunks. The style of the chunk delineation is different, but the idea is the same. The files are typically saved as .Rmd files.

28.1 Document Compilation

RMarkdown depends on knitr for evaluating R code and pandoc for converting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R for Everyone: Advanced Analytics and Graphics

R for Everyone: Advanced Analytics and Graphics

Jared P. Lander

Publisher Resources

ISBN: 9780134546988Purchase book