Sara reported on EcoGen meeting in KC
slideshare on python
NG wrote an R shell script to generate html file from Rmd file. Modified script to generate a pdf from markdown file using system call to pandoc.
Information on command-line call to
knitr here. The answer is
Rscript -e "library(knitr); knit('myfile.Rmd')"
In comments, Yihui includes link to an Rscript that doe Rmd->html or Rnw->pdf from command line,
knit file.Rmd. Elegant script - nice example for using R as a program with command-line arguments! Added script to /usr/local/bin so globally available.
Info on how you what R CMD Sweave does
This work is licensed under a Creative Commons Attribution 4.0 International License.