Chapter 12 RMarkdown for scicomm
So much potential for public communication, lab protocols and documents, etc. with R.
All based on RMarkdown.
12.1 books with bookdown
Commit the generated docs/ directory!
Then, change the setting in your repo on github.com so that github knows where your book is located so it can publish it. Here’s what to do:
- go to https://github.com/haudarren/ai_handbook
- click on settings at the top bar (at the opposite end from code, issues, pull requests)
- scroll down to the GitHub pages section. Click on Source and change it so it reads master branch /docs folder like below. You should get a green band like below that says “your site is published to username.github.io/reponame”
12.2 websites with RMarkdown
12.3 websites with Blogdown