I have tried to set the options in the preamble: \SweaveOpts{keep.source=TRUE, eps=FALSE, pdf=FALSE, png=TRUE}, but this does not reliably produce only .PNG (or indeed any!) figures. I say 'reliably' as I have been successful previously in getting the .PNG figures, but having made some modifications to my document (alas, unscientifically) Sweave no longer produces any figures.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
There is no option for automatic PNG output in the official Sweave distribution. The only options are PDF or EPS-- you are not seeing output because you have turned both of those off. You can use whatever output device you want by forgoing the use of
Instead of:
The |
|||
|
|