[TxMt] Re: R bundle have a BUG?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Sep 27 18:40:46 UTC 2011


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







More information about the textmate mailing list