The repository provides R Markdown templates for data science lab projects.
We may download and unpack the ZIP file of the repository, then compile the source document within RStudio (by clicking the button knit or hitting the shortcut Ctrl+Shift+K).
Alternatively (and probably more efficiently), we may clone the repository and let the Makefile help reproduce the output as follows:
git clone https://github.com/statds/dslab-templates.git
cd dslab-templates
make # for output in pdf and html
The available targets in the Makefile include
all
, default target for output in PDF and HTML.pdf
for PDF output onlyhtml
for HTML output onlyclean
for cleaning some temporary files such as*.log
and*.aux
.rmCache
for cleaning cache files, which can be crucial if we modified code chunk for a new evaluation.
The output of the templates in PDF and HTML are available for preview.