I’ve been wondering what Yihui Xie has been up to for a while and I’m not the least bit surprised that he’s come up with an amazing new tool – Bookdown. Building on his previous work on
knitr, Bookdown makes it incredibly easy to publish a book from
Rmd source files to multiple formats.
Garrett G and Hadley W’s book on R for Data Science uses Bookdown.