Skip to content
Prev 69634 / 398525 Next

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

Thank you, the word wrap did make it impossible.

For me

pdf(file="c:/CFTC.pdf",height=10,width=8,paper="letter")
## plotting
dev.off()

works in interactive mode or from a file.  I don't understand why you are 
going via dev.print(), nor what exactly what is different about your 
invocation of `batch mode', as putting your commands in file test.R and 
doing

R CMD BATCH test.R
R CMD BATCH --internet2 test.R

also work.  So although I have not nailed the problem I hope I have 
provided some workarounds.
On Thu, 12 May 2005, Lapointe, Pierre wrote: