December 2017
Beginner to intermediate
470 pages
12h 29m
English
Once you have a finished document or are ready to see its next iteration, you may compile within R Studio if you're using it or by executing the code that triggers the compilation. We will show the latter since it's more general and can be used by people who are not necessarily using R Studio. You simply need to execute the following lines, changing the filename "document.Rmd" with your own, and choosing the appropriate output:
library(rmarkdown)
outputs <- c("html_document", "pdf_document")
render("document.Rmd", outputs)
We suggest that you create a compile.R file that contains those line, and execute it every time you want to recompile your document. The following outputs are available:.
|
String ... |