Re: [R] Saving plot into file without showing it

2009-01-28 Thread jim holtman
pdf("yourFile.pdf") plot(1) plot(2) plot(3) . dev.off() On Wed, Jan 28, 2009 at 12:26 PM, julien cuisinier wrote: > > Hi List, > > > My apologies in advance if question is simplistic, I am quite new to R > graphics capabilities and I could not find anything in past threads... > > I use R 2.8

Re: [R] Saving plot into file without showing it

2009-01-28 Thread Stephan Kolassa
Try pdf("foo.pdf") plot(x) dev.off() Other possibilities are jpeg(), tiff(), postscript() etc. HTH, Stephan julien cuisinier schrieb: Hi List, My apologies in advance if question is simplistic, I am quite new to R graphics capabilities and I could not find anything in past threads...

[R] Saving plot into file without showing it

2009-01-28 Thread julien cuisinier
Hi List, My apologies in advance if question is simplistic, I am quite new to R graphics capabilities and I could not find anything in past threads... I use R 2.8.1 under Mac OS X, but I would preferrably have a cross platform answer as I use also R under Windows I produce plots using R