IntroductionUsing two files (an r script and an rmarkdown script) we can create a series of reports. The following example creates five reports using the first five rows of the mtcars data. The rmarkdown file is called by the rscript one time for each unique car name in the subset of the mtcars data. An example of the reports produced by these files can be found here.
The rscript and rmarkdown script referenced in this tutorial can be found here along with the rmarkdown file that creates this tutorial.