[R] .ps files in R

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 23 20:56:36 CEST 2003


Did you read ?postscript ?  You want an encapsulated PS (EPS) file to
include in LaTeX, and that page tells you the options required.

On Wed, 23 Jul 2003, Johanna Hardin wrote:

> I have recently "printed" in R to a postscript file.  I'm working on a SSH
> without an X terminal.  It was fairly automatic:
> 
> > plot(x,y)
> > dev.off()
> 
> And then the default creates a file called Rplots.ps which I can ftp to my
> laptop and open in Ghostscript.  I can see the file, and nothing looks odd.
> However, when I import it into LaTeX, it refuses to configure right side up.
> (It stays 90 degrees.)  I've tried saving it as .eps with different options
> in ghostscript.  I've also tried many different rotating commands in LaTeX
> (angle in \includegraphics, \rotate, \sideways,...) But, the picture seems
> to be unaffected by any of these commands.  
> 
> Does anyone know a trick to getting R postscript files into LaTeX?
> 
> Thanks, Jo
> 
> Johanna Hardin
> Department of Mathematics & Computer Science
> 610 N. College Way
> Pomona College
> Claremont, CA 91711
> (909) 607-8717
> jo.hardin at pomona.edu
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
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