Displaying 1 result from an estimated 1 matches for "rweaveinpng".
2006 Mar 22
0
Sweave in png
...that quite heavy, though, when more than one such figure were
needed in my document.
So I adapted the Sweave driver 'RweaveLatex' in order to allow to
generate png pictures instead of ps or pdf, when using a pdf-oriented
compiler (such as pdflatex). I just have to source the new driver
(RweaveInPng), then call it when Sweaving.
Then for example, I simply use:
### rnw document ###
% a single chunck containing R code to generate the picture
<<fig=TRUE,pdf=FALSE,png=TRUE>>=
...
@
The driver, which is only a slight modification of RweaveLatex, can
generate ps, pdf or png figures;...