|
Exporting Graphics to a PDF file
Exporting graphics to a PDF file can be achieved via the pdf function. This is accomplished by:
pdf("Pathway/Filename.pdf") plot(x,y) dev.off() EXAMPLE: > pdf("C:/My Documents/SampleGraphics.pdf") > plot (Data$x,Data$y) > dev.off() IMPORTANT NOTES:
|