Re: [R] Exporting Graphs

2010-02-21 Thread Tal Galili
BTW - if you are using an image with little color (but many lines), I remember reading that png is better to use then jpeg. Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (He

Re: [R] Exporting Graphs

2010-02-21 Thread Karthik
Thank you everyone. Your advice helped. Right now I am working through Introductory Statistics with R (Dalgaard) and will also take a look at the R Manual. --Karthik [:-)]+|=0='' On Sun, Feb 21, 2010 at 12:01 PM, Sharpie wrote: > > > Karthik wrote: >> >> Hello Tal, >> This is the code. >> >> -

Re: [R] Exporting Graphs

2010-02-21 Thread Sharpie
Karthik wrote: > > Hello Tal, > This is the code. > > >> hist(rnorm(100)) >> jpeg("histogram.jpeg") > --- > > Even when I decrease the quality, I still have the same problem. > > >> hist(rnorm(100)) >> jpeg("histogram.j

Re: [R] Exporting Graphs

2010-02-21 Thread Stephan Kolassa
Hi Karthik, I think you will need to do something like jpeg("histograms.jpg") hist(rnorm(100)) dev.off() HTH Stephan Karthik schrieb: Hello Tal, This is the code. hist(rnorm(100)) jpeg("histogram.jpeg") --- Even when I decrease the quality, I s

Re: [R] Exporting Graphs

2010-02-21 Thread baptiste auguie
Hi, just to make sure, you didn't forget to close the device with dev.off() ? baptiste On 21 February 2010 20:48, Karthik wrote: > Hello Tal, > This is the code. > > >> hist(rnorm(100)) >> jpeg("histogram.jpeg") > --- > > Even when I decrease the qua

Re: [R] Exporting Graphs

2010-02-21 Thread Karthik
Hello Tal, This is the code. > hist(rnorm(100)) > jpeg("histogram.jpeg") --- Even when I decrease the quality, I still have the same problem. > hist(rnorm(100)) > jpeg("histogram.jpeg",quality=30) -

Re: [R] Exporting Graphs

2010-02-21 Thread Tal Galili
Hi Karthik, Please give a sample code of what it is that you are doing that is causing this. Also, have a look at: ?pdf Or ?png Cheers, Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.tal

[R] Exporting Graphs

2010-02-21 Thread Karthik
I am a beginner to R, and am working on exporting graphs. Even when I reduce the quality, it takes 30 or 40 minutes to export the graph. Does anyone have suggestions on how to make it faster? Thank you! Karthik __ R-help@r-project.org mailing list https