[R] Export to GIF

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Dec 19 10:11:00 CET 2003


On Fri, 19 Dec 2003, Branimir K. Hackenberger wrote:

> What is the best (possible) way to copy the current graphics device to a
> file in a GIF format.

Copy it to PNG and find a licensed conversion program from PNG to GIF.
(Recall that writing the GIF format is encumbered by patent claims in some
countries: the relevant patent has expired in the US but not yet in the EU
nor in Japan.)

If your port of R does not have png(), use bitmap().

BTW, it really does help to know your OS when answering such questions.


URL for the patent issue:

http://cloanto.com/users/mcb/19950127giflzw.html

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list