18 Reports: R Markdown and knitr

18.1 R Markdown: The Definitive Guide

Yihui Xie, J. J. Allaire, Garrett Grolemund

The first official book authored by the core R Markdown developers that provides a comprehensive and accurate reference to the R Markdown ecosystem. With R Markdown, you can easily create reproducible data analysis reports, presentations, dashboards, interactive applications, books, dissertations, websites, and journal articles, while enjoying the simplicity of Markdown and the great power of R and other languages.

https://bookdown.org/yihui/rmarkdown/

18.2 R Markdown Cookbook

Yihui Xie, Christophe Dervieux, Emily Riederer

This book showcases short, practical examples of lesser-known tips and tricks to helps users get the most out of these tools. After reading this book, you will understand how R Markdown documents are transformed from plain text and how you may customize nearly every step of this processing. For example, you will learn how to dynamically create content from R code, reference code in other documents or chunks, control the formatting with customer templates, fine-tune how your code is processed, and incorporate multiple languages into your analysis.

https://bookdown.org/yihui/rmarkdown-cookbook/

18.3 Getting used to R, RStudio, and R Markdown

Chester Ismay

This resource is designed to provide new users to R, RStudio, and R Markdown with the introductory steps needed to begin their own reproducible research. A review of many of the common R errors encountered (and what they mean in layman’s terms) will also provided be provided.

https://bookdown.org/chesterismay/rbasics/

18.4 Report Writing for Data Science in R

Roger D. Peng

This book teaches the fundamental concepts and tools behind reporting modern data analyses in a reproducible manner. As data analyses become increasingly complex, the need for clear and reproducible report writing is greater than ever.

Pay what you want for the ebook, minimum $0.00

https://leanpub.com/reportwriting

18.5 Introduction to R Markdown

Michael Clark

The goal is for you to be able to get quickly started with your own document, and understand the possibilities available to you. You will get a feel for the basic mechanics at play, as well as have ideas on how to customize the result to your own tastes.

https://m-clark.github.io/Introduction-to-Rmarkdown/

18.6 RMarkdown for Scientists

Nicholas Tierney

This is a book on rmarkdown, aimed for scientists. It was initially developed as a 3 hour workshop, but is now developed into a resource that will grow and change over time as a living book.

https://rmd4sci.njtierney.com/

18.7 Pimp my RMD: a few tips for R Markdown

Yan Holtz

R markdown creates interactive reports from R code. This post provides a few tips I use on a daily basis to improve the appearance of output documents.

https://holtzy.github.io/Pimp-my-rmd/

18.8 knitr

Yihui Xie

Dynamic documents with R and knitr!

The knitr package was designed to be a transparent engine for dynamic report generation with R, solve some long-standing problems in Sweave, and combine features in other add-on packages into one package.

The book is free online.

https://yihui.org/knitr/

18.9 Reproducible Research with R and RStudio

By Christopher Gandrud

This book present all the Tools for Gathering and Analyzing Data and Presenting Results Reproducible Research with R and RStudio through practical examples.

The book can be reproduced by using the R package bookdown

https://github.com/christophergandrud/Rep-Res-Book

Also, you can buy the copy.

https://www.routledge.com/Reproducible-Research-with-R-and-RStudio/Gandrud/p/book/9780367143985