Dynamic Documents with R and knitr, Second Edition

Yihui Xie

June 22, 2015 by Chapman and Hall/CRC
Reference - 294 Pages - 70 B/W Illustrations
ISBN 9781498716963 - CAT# K25425
Series: Chapman & Hall/CRC The R Series


Add to Wish List
FREE Standard Shipping!


  • Provides an authoritative and comprehensive guide to the knitr package in R
  • Emphasizes reproducible research
  • Covers both simple examples and full applications, from homework to websites to books
  • Describes a wide range of options, useful tricks, and solutions
  • Explains the internal design and extensions of the knitr package
  • Offers demos and other information about the package on the author's website


Quickly and Easily Write Dynamic Documents

Suitable for both beginners and advanced users, Dynamic Documents with R and knitr, Second Edition makes writing statistical reports easier by integrating computing directly with reporting. Reports range from homework, projects, exams, books, blogs, and web pages to virtually any documents related to statistical graphics, computing, and data analysis. The book covers basic applications for beginners while guiding power users in understanding the extensibility of the knitr package.

New to the Second Edition

  • A new chapter that introduces R Markdown v2
  • Changes that reflect improvements in the knitr package
  • New sections on generating tables, defining custom printing methods for objects in code chunks, the C/Fortran engines, the Stan engine, running engines in a persistent session, and starting a local server to serve dynamic documents

Boost Your Productivity in Statistical Report Writing and Make Your Scientific Computing with R Reproducible

Like its highly praised predecessor, this edition shows you how to improve your efficiency in writing reports. The book takes you from program output to publication-quality reports, helping you fine-tune every aspect of your report.


We provide complimentary e-inspection copies of primary textbooks to instructors considering our books for course adoption.

Request an
e-inspection copy

Share this Title