knitAndSave
The caption of the plot (used as filename if no filename is specified).
The filename to use when saving the plot, or the path where to save the
file if no filename is provided (if path
is also omitted, getWd()
is used).
The plot dimensions, by default specified in inches (but 'units' can
be set which is then passed on to ggSave()
.
The units and DPI of the image which are then passed on to ggSave()
.
Whether to use cat()
to print the knitr fragment.
Additional arguments are passed on to ggSave()
. Note that file (and ...) are
vectorized (see the ggSave()
manual page).
The knitFig()
result, visibly.