Hi there,
 
I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for 
Windows) using Sweave(). 
I'd like to save my plots in a given size. How can I do that ? The code is :
 
\SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE}
<<partI, echo=FALSE ,fig=TRUE, include=FALSE>>=  
plotFunction()
@
\includepdf[pages=-]{figs/plot-partI}

The issue is that I have several plots created (but it's not always the same 
numbers of plots, in depends on the data), so I save them in a .pdf file 
automatically with Latex. 
Each plot is on one page of the pdf file. And then, I include all the pages of 
this pdf file. 
In that way, I don't have to deal with the number of plots created by Sweave, I 
just have to include all the pages of my document. 

Thanks a lot !
 
Lore.
_________________________________________________________________

r  !  Téléchargez-le maintenant ! 

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to