Learn R Programming

⚠️There's a newer version (0.43) of this package.Take me there.

bookdown

A open-source (GPL-3) R package to facilitate writing books and long-form articles/reports with R Markdown. Features include:

  • Generate printer-ready books and ebooks from R Markdown documents
  • A markup language easier to learn than LaTeX, and to write elements such as section headers, lists, quotes, figures, tables, and citations
  • Multiple choices of output formats: PDF, LaTeX, HTML, EPUB, and Word.
  • Possibility of including dynamic graphics and interactive applications (HTML widgets and Shiny apps)
  • Support for languages other than R, including C/C++, Python, and SQL, etc.
  • LaTeX equations, theorems, and proofs work for all output formats
  • Can be published to GitHub, bookdown.org, and any web servers
  • Integrated with the RStudio IDE
  • One-click publishing to https://bookdown.org

Full documentation at https://bookdown.org/yihui/bookdown, and see "Get Started" at https://bookdown.org to know how to get started with writing a book. You are welcome to send us feedback using Github issues or ask questions on StackOverflow with the bookdown tag.

Copy Link

Version

Install

install.packages('bookdown')

Monthly Downloads

79,036

Version

0.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

January 25th, 2018

Functions in bookdown (0.6)

calibre

A wrapper function to convert e-books using Calibre
clean_book

Clean up the output files and directories from the book
bookdown_site

R Markdown site generator for bookdown
build_chapter

Combine different parts of an HTML page
html_chapters

Build book chapters into separate HTML files
html_document2

Output formats that allow numbering and cross-referencing figures/tables/equations
kindlegen

A wrapper function to convert EPUB to the Mobipocket format
pdf_book

Convert R Markdown to a PDF book
epub_book

The EPUB e-book format
gitbook

The GitBook output format
publish_book

Publish a book to the web
render_book

Render multiple R Markdown documents into a book
serve_book

Continously preview the HTML output of a book using the servr package