Brett Klamer

Compile Hadley’s Advanced R to a PDF

Hadley Wickham's book, Advanced R, is published through Chapman and Hall. The source is available on GitHub and a version compiled for the web is at Even though the HTML format is nice, I still like to have a PDF around. Here’s how to compile it from the source. (Please consider buying a copy to support his work.)

Download the Source

Extract to your folder of choice.

Install R Package Dependencies

# Check error messages for needed cran packages. Development packages are 
# mentioned below.

Compile the book

bookdown::render_book("index.Rmd", output_format = "bookdown::pdf_book")
Published: 2013-12-01
Last Updated: 2017-12-02