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.
Nice and concise, cheers.
ReplyDeleteThanks! for some reason I have having a really hard time finding a clear example of how to save an R plot to a file.
ReplyDelete> help("setEPS")
ReplyDeleteNice, 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.
ReplyDeleteThanks. It's really short and effective.
ReplyDelete