[Bioc-devel] using figures in .Rnw files

Tarca Adi Laurentiu ltarca at biota.rsvs.ulaval.ca
Tue Mar 29 20:59:13 CEST 2005

Hi everyone,

I have a question about building the vignettes files (.Rnw).
Say I have a function myFunction() which produces 2 plots (invoking a x11() 
for each of them). I want to use this function in a chunk
of the .Rnw file and the resulting figures to be inserted into the document.

The classic code:


followed by,


will do the job but superposing the two figures, which is not what I want. 
Neither setting par(mfrow=c(2,1)) before the call of myFunction()
is not a solution as the two figures are too compacted.

Thanks for any eventual suggestion,

Dr. Laurentiu Adi Tarca

	[[alternative HTML version deleted]]

More information about the Bioc-devel mailing list