Rscript -e 'library(rmarkdown); rmarkdown::render("./mapping_draft.Rmd", "html_document")' Rscript -e 'library(rmarkdown); rmarkdown::render("./mapping_draft.Rmd", "pdf_document")'