Trying out different tools & styles of presentation
Install homebrew
Install R and Pandoc
brew install r
brew install pandoc
brew install pandoc-citeproc
brew install homebrew/cask/basictex
open a new terminal window
on the command-line, type r
to start the interactive command-line tool (aka REPL) for the R programming language. Then install packages:
install.packages("rmarkdown")
install.packages("DT")
install.packages("pipeR")
install.packages("bookdown")
quit()
In the terminal:
rscript -e "bookdown::render_book('index.Rmd', 'all')"
to see the PDF book version:
open _book/id-field-guide.pdf
to see the HTML book version:
open _book/index.html
initial content length
wc -w *
2132 1-intro.md
851 2-names.md
1369 3-identifiers.md
388 4-name-spaces.md
4740 total