[R] Saving R Graph to a file

2012-11-04 Thread frespider
in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Saving R Graph to a file

2012-11-04 Thread R. Michael Weylandt
On Sun, Nov 4, 2012 at 4:16 AM, frespider frespi...@hotmail.com wrote: Hi I am not sure why I can't get my plot saved to a file as .ps, I searched online and I found that I have to use something is called postscript,png or pdf function which I did but still not working. Actually what I have

Re: [R] Saving R Graph to a file

2012-11-04 Thread John
On Sat, 3 Nov 2012 21:16:49 -0700 (PDT) frespider frespi...@hotmail.com wrote: You're leaving out some critical information like the error messages, if any, you receive. That said, your example won't work properly because it is not properly coded. FI'm sure it gets tiresome being told to read

Re: [R] Saving R Graph to a file

2012-11-04 Thread Robert Baer
in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Saving R Graph to a file

2012-11-04 Thread Robert Baer
) hist(CO2[,4]) Thanks -- View this message in context: http://r.789695.n4.nabble.com/Saving-R-Graph-to-a-file-tp4648369.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Saving R Graph to a file

2012-11-04 Thread Muhuri, Pradip (SAMHSA/CBHSQ)
:32 AM To: frespider Cc: r-help@r-project.org Subject: Re: [R] Saving R Graph to a file Some hints: For pdf(), height and width are in inches, not pixels. dev.off() is necessary after drawing the image for pdf(). The name for the file argument (file=c:/figure.xxx) is file not filename hist(CO2[,5

Re: [R] Saving R Graph to a file

2012-11-04 Thread frespider
? Thanks Date: Sun, 4 Nov 2012 02:39:13 -0800 From: ml-node+s789695n4648380...@n4.nabble.com To: frespi...@hotmail.com Subject: Re: Saving R Graph to a file On 11/4/2012 4:32 AM, Robert Baer wrote: Some hints: For pdf(), height and width are in inches, not pixels. dev.off() is necessary after

Re: [R] Saving R Graph to a file

2012-11-04 Thread R. Michael Weylandt
On Sun, Nov 4, 2012 at 1:18 PM, frespider frespi...@hotmail.com wrote: Hi guys, I really appreciated all your responds, I made mistake on my example below hwere I wrote device.off() where it should be dev.off(). I read all the help documnet for odf png and postscript before I posted my

Re: [R] Saving a graph

2011-08-30 Thread Prof Brian Ripley
On Mon, 29 Aug 2011, Dieter Menne wrote: Gang Chen-4 wrote: However, my problem is that the file generated from a graph of fixed size is too large (in the order of 10MB) because of many data points in multiple scatterplots. Any suggestions? Generate pdf, open and save it in Adobe Acrobat

Re: [R] Saving a graph

2011-08-30 Thread Jannis
with detailed description. There are numerous solutions and most of them point into Dieters or Brian Ripleys directions. Jannis --- Dieter Menne dieter.me...@menne-biomed.de schrieb am Di, 30.8.2011: Von: Dieter Menne dieter.me...@menne-biomed.de Betreff: Re: [R] Saving a graph An: r-help@r-project.org

[R] Saving a graph

2011-08-29 Thread Gang Chen
I read somewhere that vector graphics such as eps or dpf are more favorable than alternatives (jpeg, bmp or png) for publication because vector graphics scale properly when enlarged. However, my problem is that the file generated from a graph of fixed size is too large (in the order of 10MB)

Re: [R] Saving a graph

2011-08-29 Thread Dieter Menne
Gang Chen-4 wrote: However, my problem is that the file generated from a graph of fixed size is too large (in the order of 10MB) because of many data points in multiple scatterplots. Any suggestions? Generate pdf, open and save it in Adobe Acrobat which does a compression when the setting