Ok it's working with onefile = TRUE (I look at my result trough a web page and I did not notice the split of pdf :-)
many thanks
Davide
2011/9/27 Hans-Jörg Bibiko bibiko@eva.mpg.de:
On 27 Sep 2011, at 17:06, Davide Rambaldi wrote:
Not sure where to post this problem (R devel, here, mailing list for the bundles?)
Here's the right place :)
I have the following problem:
- I have a script that generate a PDF multiline using plot…
pdf(merge.fitting.file.path) print(plot(parent.fitting)) print(plot(my.fit)) dev.off()
The easiest to check the default parameter settings for "pdf()" in a software environment execute:
args(pdf)
function (file = "/tmp/TM_R/Rplot%03d.pdf", width = 8, height = 8, onefile = FALSE, family, title, fonts, version, paper, encoding, bg, fg, pointsize, pagecentre, colormodel, useDingbats, useKerning, fillOddEven, maxRasters)
Here you see that the parameter "onefile" is set to FALSE which means that each plot will go in a separate pdf file.
Please try:
pdf(merge.fitting.file.path, onefile = TRUE)
Kind regards, Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate