Trigger processing of chapter files from RStudio.
knitInRStudio.Rd
If this function is executed within RStudio, it will
knit all child
from the main file
of a large .Rnw
-style knitr document.
Arguments
- SweaveFiles
The files to process. If missing, the value is set from a
.SweaveFiles
variable in the global environment.- force
If
TRUE
, all files are knitted; otherwise, only those that are newer than the corresponding.tex
file.- verbose
Add some debugging information to the output.
Details
This does nothing if not run from within RStudio. If run there, it starts a second R process to do the knitting. It's assumed that this call will exist in a code chunk in another knitr document.
Set childOutput = TRUE
in the options to the code
chunk containing this if you wish to see the output of the
child knitr runs in the same log as the main one.
See also
knitAll
, which does a similar thing outside
of RStudio.