[R] Cross-platforms solution to export R graphs

Philippe Grosjean phgrosjean at sciviews.org
Sat Apr 11 15:20:03 CEST 2009


..............................................<°}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..............................................................

Liviu Andronic wrote:
> On Thu, Apr 9, 2009 at 3:04 PM, Philippe Grosjean
> <phgrosjean at sciviews.org> wrote:
>> The page is at:
>> http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export.
>>
> The article suggests to use Inksacpe for PDF -> SVG conversion.
> I've recently experimented this, but it seems that the graph loses
> quality in the way. The resulting SVG seems pixelised and doesn't look
> very well when zoomed. I searched within Inkscape, but found no
> relevant options (only the resolution for export).
> Would there be options to look out for in Inkscape (such as antialias,
> or else)?
> Liviu

.... ?? I don't understand what you are doing here. It is not a question 
of exporting the graph at a given resolution, but to convert it from one 
vector 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.
All the best,

PhG




More information about the R-help mailing list