
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 with a given size. How can I do that ? 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. So, 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. The probleme is that I don't know how to set the size of my plots, so the size of the pdf page. The code is :

\SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE}

<<partI, echo=FALSE ,fig=TRUE, include=FALSE>>=  
plotFunction()
@

\includepdf[pages=-, noautoscale=TRUE]{figs/plot-partI}


And I have a second problem. Then I'd like to have several plots on the same line, that is to say several pdf pages inserted on the same line. I heard about the option column=TRUE but it doesn't work. Do you have any idea of how I could do that ?

Thanks a lot !

Lore.

_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches

	[[alternative HTML version deleted]]


