Examples of using SCons with knitr
问题 Are there minimal, or even larger, working examples of using SCons and knitr to generate reports from .Rmd files? knit ing an cleaning_session.Rmd file from the command line ( bash shell) to derive an .html file, may be done via: Rscript -e "library(knitr); knit('cleaning_session.Rmd')". In this example, Rscript and instructions are fed to a Make file: RMDFILE=test html : Rscript -e "require(knitr); require(markdown); knit('$(RMDFILE).rmd', '$(RMDFILE).md'); markdownToHTML('$(RMDFILE).md', '$