[R] Cross-platforms solution to export R graphs

Liviu Andronic landronimirc at gmail.com
Sat Apr 11 20:45:05 CEST 2009


On Sat, Apr 11, 2009 at 3:20 PM, Philippe Grosjean
<phgrosjean at sciviews.org> wrote:
> format (PDF) to another one (SVG). In Inkscape, you use File -> Open... for
> the first step, and File -> Save as... for the second. Since it is a vector
> format, your graph should not look pixelised.
>
Yes, this is what I'm doing, but I still get funny results.
I have a PDF graph [1] that renders perfectly on my Linux system (say,
using Evince), and the SVG counterpart [2] (converted via Inkscape)
that appears with blurry lines at normal zoom level. But I just tried
couple of R SVGs in Opera at high zoom-ins (350%), and they render as
expected; guess I could only blame my image viewers.

Not exactly cross-platform, but there's also pdf2svg [3] for this type
of conversion.

Thanks,
Liviu

[1] http://s000.tinyupload.com/index.php?file_id=02313849491005544965
[2] http://s000.tinyupload.com/index.php?file_id=65971482254693721586
[3] http://www.cityinthesky.co.uk/pdf2svg.html


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail




More information about the R-help mailing list