[R] How to save R-grafics in eps format

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Feb 1 11:56:40 CET 2006


paladini at rz.uni-potsdam.de writes:

> Hello!
> I used to save R-Grafics like this: postscript("file.ps").
> Is there alsoa way to save them as eps?

from ?postscript: 

     The postscript produced by R is EPS (_Encapsulated PostScript_)
     compatible, and can be included into other documents, e.g., into
     LaTeX, using '\includegraphics{<filename>}'.  For use in this way
     you will probably want to set 'horizontal = FALSE, onefile =
     FALSE, paper = "special"'.

Also, there is dev.copy2eps for copying from screen to EPS. Watch out
for pointsize and geometry differences though.


 
> 
> Thank you very much
> 
> 
> Claudia
> 
> ______________________________________________
> 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
> 

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list