[R] orientation of eps files

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 2 18:02:04 CET 2005


Yes, and it happens because by default R's plots have rotated text on the 
y axis, and it is this that tends to trigger auto-rotation.

The answer is in

https://www.stat.math.ethz.ch/pipermail/r-devel/2003-October/027766.html

various other items in the thread being off the point.

On Wed, 2 Mar 2005, Roger D. Peng wrote:

> This is ghostscript feature, I believe.  See here:
>
> https://www.stat.math.ethz.ch/pipermail/r-devel/2003-October/027759.html
>
> I usually do
>
> setenv GS_OPTIONS "-dAutoRotatePages=/None"
>
> in tcsh.
>
> -roger
>
> Andrew Collier wrote:
>> hello,
>> 
>> i have a problem with the orientation of eps files produced with the 
>> postscript() command. i have generated some eps files with R using:
>> 
>> postscript(file = filename, horizontal = FALSE, paper = "special", onefile 
>> = F
>> ALSE, height = height, width = width, pointsize = pointsize)
>> 
>> now, when i include these eps files into a standard paper document (ie. a4 
>> paper, portrait orientation) everything is fine.
>> 
>> however, i am now wanting to incorporate the same images into a 
>> presentation. i am making a pdf file, which for presentation purposes is in 
>> landscape orientation. i am using latex with the prosper package. images 
>> are included with \includegraphics{} and a pdf file is generated with 
>> dvipdf. however, in this case, when i include the eps figures the whole 
>> page suddenly gets rotated around into portrait. eps files from other 
>> packages seem to work fine.
>> 
>> there is an example of the problem at 
>> ftp://chinstrap.nu.ac.za/orientation.pdf.
>> 
>> if you have any ideas as to what might be causing this problem, i would be 
>> extremely happy to hear them.
>> 
>> best regards,
>> andrew.
>> 
>
> -- 
> Roger D. Peng
> http://www.biostat.jhsph.edu/~rpeng/
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list