Created
May 1, 2017 14:18
-
-
Save sjessa/20269c3eccbd052955e62cfa9022508e to your computer and use it in GitHub Desktop.
Knit an R Markdown document from the commandline, and specify the output filename
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
R -e 'library(knitr); knit("report.Rmd", "report.md")'; pandoc report.md --output snapshot.pdf --variable 'geometry:margin=1in' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment