This blog focuses on the relationships that connect us together providing potent insights for decision makers. In addition, a few data mining topics are presented.
Saturday, May 24, 2008
Save R Plot in EPS format
Here is a code example of how to save an R plot in EPS (instead of PS):
Nice, many thanks for the useful post when I needed a quick example. setEPS() before the plot also works great to preset the right options for postscript() - thanks Ryan for the comment.
5 comments:
Nice and concise, cheers.
Thanks! for some reason I have having a really hard time finding a clear example of how to save an R plot to a file.
> help("setEPS")
Nice, many thanks for the useful post when I needed a quick example. setEPS() before the plot also works great to preset the right options for postscript() - thanks Ryan for the comment.
Thanks. It's really short and effective.
Post a Comment