I am currently doing some statistical analysis in R and use knitr
to generate results and an overview document.
There are some additional plots, which I want to be done and saved as a .png
(with specified file name and location), but not included in the generated .html
file (too many of them, and they are not at the end).
Using dev.copy(png, ...)
works fine for generating the plots, but the figures appear in the .html
. If I specify fig.keep=none
the .png
files are created, but blank.
Is there some way to do what I want?