Creating gif files using R

Guido Masarotto (Guido Masarotto)
Thu, 28 Oct 1999 14:40:47 +0100

On Thu, Oct 28, 1999 at 08:19:44AM -0400, Dennis Wolf wrote:
> Greetings,
>     I am a new user of R but a long time fan of S (Splus) and have
> installed R version 0.65.1 on a
> Windows NT machine. I would like to save plots as gif files and have
> been using savePlot()
> with some success. I found that savePlot would not work without
> modification, namely
> decrementing the device by 1 before calling the internal routine that
> does the conversion. Once
> that change was made it worked as advertised. I am wondering now whether
> I could generate
> the gif files in a batch job. I am wanting to do a web-based analysis
> that includes a call to
> R which would return a gif file for display in a browser. Is this
> possible directly with R?

  savePlot + Rterm should do the work. 
  However, we will probably withdraw support to direct generation
  of gif to avoid some legal problems. Hence, give a try
  also to 'dev2bitmap' (which however require ghostscript installed).


r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: