High-quality R graphics on the Web with SVG  July 7, 2011   If
you want the graphics you create with R to look their best, in
general it's best to go for a vector-based graphics format
instead of a raster-based format. Common formats like GIF and
JPG are raster-based: the image is composed of pixels, and if
you don't choose a high enough resolution, you're likely to lose
fine details and/or the image will look blocky. But if you're
publishing on the Web, you're probably limited in resolution
(here on the blog, I'm limited to 500px in the horizontal
direction, for example). Vector-based formats like PostScript
and SVG always look their best regardless of the resolution,
because they're rendered on demand from the component lines,
symbols, and other elements of your graphic: it's a bit like
using a laser printer instead of a dot-matrix printer, with a
corresponding increase in quality.  The problem until recently
is that not many browsers have had native support for vector
images, limiting their usefulness on t