[R] Output Graphics GIF

Henrik Bengtsson hb at stat.berkeley.edu
Sun Oct 3 19:26:12 CEST 2010


On Sun, Oct 3, 2010 at 5:47 AM, Mike Marchywka <marchywka at hotmail.com> wrote:
>
>
>
>
>
>
>
> ----------------------------------------
> Date: Sat, 2 Oct 2010 23:59:50 -0300
> From: nilzabarros at gmail.com
> To: tal.galili at gmail.com
> CC: r-help at r-project.org
> Subject: Re: [R] Output Graphics GIF
>
>
> On Mon, Sep 27, 2010 at 11:31 AM, Tal Galili  wrote:
>
>> I am guessing you are saving the plot using the menu system.
>>
>> If that is the case, have a look at:
>>
>> ?pdf
>> ?png
>>
>> Generally, I like saving my graphics to pdf since it is vectorized.
>
> btw, is SVG supported at all? Now that you mention it that could be a good
> option for some plots. I just used pdf earlier for testing but if you just have a simple
> plot as a picture then an image format should be a better choice. I've always
> complained about the cost-benefit for pdf compared to alternatives but
> if used properly it can be a good choice in some cases ( I think I tried
> to explain some objections I had to pdf files  on the itext mailing list,
> a package which may be of interest to the other poster intereted in
> manipulating pdf files).
>
> Use a format beneficial for the type of data you have.

...and basically never ever use JPEG for your scientific graphs - it's
evil!  It's driver should be hidden away in some obscure package far
far away, because too people still use it.

/Henrik
>
>>
>> Cheers,
>> Tal
>>
>>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list