Chapter 11 R for science communication
So much potential for public communication, lab protocols and documents, etc. with R.
All based on RMarkdown.
11.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”
11.2 websites with RMarkdown
11.3 websites with Blogdown