Hello!
I used to save R-Grafics like this: postscript("file.ps").
Is there alsoa way to save them as eps?
Thank you very much
Claudia
How to save R-grafics in eps format
3 messages · paladini@rz.uni-potsdam.de, Peter Dalgaard, Martin Lam
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
Dear Claudia,
This is how I save the plots as *.eps.
postscript(file="testplot.eps",
paper="special",
width=10,
height=10,
horizontal=FALSE)
yvalues = runif(100)
plot(yvalues)
dev.off()
HTH,
Martin Lam
--- paladini at rz.uni-potsdam.de wrote:
Hello!
I used to save R-Grafics like this:
postscript("file.ps").
Is there alsoa way to save them as eps?
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