Skip to content
Prev 8349 / 398502 Next

Landscape problems with ps2pdf [summary]

Since I sent my original question last week, this is one of two suggestions
that worked.  Using Adobe Acrobat, as suggested by Professor Ripley, was
very satisfactory, but required that I use multiple platforms to make the
conversion to PDF (from Linux to Windows).  

The solution by Peter Adorjan (included below), also worked very well, and
can be carried out on any platform using tools available in ghostscript
(ps2pdf) and psutils (pstops, which can be downloaded from
http://www.dcs.ed.ac.uk/home/ajcd/psutils/ in source form, or from the usual
sites for Linux binaries).

Thanks for the responses.

Matt Nelson
Original Message:

I have created a multipage PostScript file using the postscript() function
with horizontal = TRUE to produce my plots in landscape.  I intended to
convert that entire file to PDF using ps2pdf to have the plots available for
a presentation.  Unfortunately, the resulting PDF document is rotated -90
degrees.

I have found dozens of references to this kind of problem with ps2pdf
online, but no effective workaround.  I would really appreciate any
suggestions.

I am using R Version 1.1.1 on RedHat Linux 6.2.  I have upgraded to
ghostscript 6.01 (in an attempt to correct the problem). 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._