-
1. Install bookdown with
install.packages("bookdown"). If you already have it, update to the latest version. -
2. Render locally with
bookdown::render_book("index.Rmd"). -
3. Use
browseURL("docs/index.html")to view your book locally (or just openindex.htmlin a browser). -
4. If it looks good, commit and push all changed files to GitHub.
(You will need to repeat steps 2 and 4 every time you wish to update the book online.)
Once you've completed these steps, delete the content of this README and add a short description of your project with a link to the book URL. It would be appreciated if you add the following to the end:
This repo was initially generated from a bookdown template available here: https://github.com/jtr13/bookdown-template.
A demo video showing how to create a bookdown book following these instructions: http://bit.ly/fiveminutebookdown
Please consult the official guide to bookdown: https://bookdown.org/yihui/bookdown