1

Having inherited some R Script, I need to execute the script on a schedule and push the results into a html file.

In essence, automating clicking Knit > Knit to HTML.

I'd like to keep options open and as such, would like to know if

a) Can you do this in the R script itself and if so, how?

b) Can you do this via command line with an argument?

thanks

mattpm
  • 1,310
  • 2
  • 19
  • 26
  • 2
    Yes, it is possible to run knitr from the command line. https://stackoverflow.com/questions/10943695/what-is-the-knitr-equivalent-of-r-cmd-sweave-myfile-rnw – Roman Luštrik Jun 23 '17 at 05:55

0 Answers0