I'm currently trying to export a couple of graphs to pdf . Postscript would be fine too, but I'm using odd page dimensions, which seem to be overwritten when using the "ps2pdf" command.

From what you wrote I guess that perhaps you don't really want unusual page dimensions, but rather Encapsulated PostScript files, which are automatically cropped to their bounding box and can be included as images in a latex document (using \includegraphics or such, so you could arrange the 6 graphs in a standard latex figure environment etc.; and, of course, there's no need to go through PDFs).

If that's what you want to do, simply use dev.copy2eps(), setting width= and height= to the desired format of the plot and remembering to specify onefile=FALSE (that's a trap I keep falling into ...).

If you still need PDFs, use the "epstopdf" program for the conversion, because ps2pdf will usually mess up your bounding box and revert to a standard page size.



Best regards,
Stefan Evert

[ [EMAIL PROTECTED] | http://purl.org/stefan.evert ]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to