A short description of the post.
I am in various stages of writing technical texts using R/RStudio/knitr and have been looking for some methods that help in this process. My goals are to be able to:
I’ve just run across Gitbook and it looks like a good option, particularly with the help of the R package Rgitbook. Here is a bit of work that I had to do to get things going on my machine.
You will need to make sure you have XCode installed (get it from Apple) for all the building tools. If you’ve had previous versions of XCode on your machine, you may need to reset xcode-select as:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
Clean up any locks: sudo chown -R $(whoami) ~/.npm/_locks
Clean the cache
sudo npm cache clean
Now you have it installed, you should go see http://jason.bryer.org/Rgitbook/ for how to use it. Good luck! It seems like this R package hasn’t been updated in a while. I hope it isn’t stale, it looks pretty interesting.
For attribution, please cite this work as
Dyer (2015, Sept. 4). The Dyer Laboratory: Installing Gitbook on OSX. Retrieved from https://dyerlab.github.io/DLabWebsite/posts/2015-09-04-installing-gitbook-on-osx/
BibTeX citation
@misc{dyer2015installing, author = {Dyer, Rodney}, title = {The Dyer Laboratory: Installing Gitbook on OSX}, url = {https://dyerlab.github.io/DLabWebsite/posts/2015-09-04-installing-gitbook-on-osx/}, year = {2015} }