Skip to content
Prev 69643 / 398525 Next

Batch mode problem: figure margins too large (code corrected for word wrap)

I'd like to recommend to open the pdf() device (and to plot in) 
directly. There is no reason to use the windows() device in BATCH mode, 
if you want to produce PDF.
Lapointe, Pierre wrote:
delete windows() and insert:

pdf(file="c:/CFTC.pdf",height=10,width=8,paper="letter")
delete dev.print and insert dev.off()

[BTW: your code is almost unreadable, please try to format it before 
posting, and please read documentation on devices]

Uwe Ligges