[R] Using graphics straight from R into published articles

Philipp Pagel p.pagel at wzw.tum.de
Wed Mar 30 21:55:02 CEST 2011


On Wed, Mar 30, 2011 at 09:56:09AM -0700, blanco wrote:
> Wow - thanks all for your helpful replies.  Awesome forum.
> 
> Am I right to assume that you use the postscript function to create .ps  and
> .pdf files from R?

almost:

postscript(..., onefile=FALSE) # for eps
pdf() # for PDF

And don't forget to close the device with dev.off() after the plot.

cu
	Philipp

-- 
Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/



More information about the R-help mailing list