Re: [R] SVG format from any R graphic GUI?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 16 Apr 2008 14:19:39 +0100 (BST)

R 2.7.0 RC has an svg() device on Unix-alikes, and there are RSvgDevice and RSVGTipsDevice packages on CRAN.

I've seen so many problems with SVG renderers (especially related to fonts) that I would prefer not to rely on it.

If this is Windows, the preferred route seems to be to use EPS with a preview (which GSView can add for you).

On Wed, 16 Apr 2008, Stefan Grosse wrote:

> On Wed, 16 Apr 2008 13:20:35 +0200 Agustin Lobo wrote:
> AL>I have problems with emf files because OpenOffice does
> AL>a poor job at importing figures in this format. On the other
> AL>hand, imported eps figures are not displayed, just printed.
> AL>Is there any R graphic gui able to export as SVG (or
> AL>other vector format)? I've
> AL>tried JGR, iplots and svGUI.
>
> The figures format has nothing to do with the gui. It matters which
> devices are supported by your R platform on your system
> (Win/Linux/Mac?).
>
> A quick search on r-project.org pointed me to the Cairo package. Maybe
> you can try that.
>
> You will also have reasonable results using the png device/graphics.
>
> usually you do something like:
>
> png("myplot.png",width=500,height=500)
> plot(x,y)
> dev.off()
>
> hth
> Stefan

-- 
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

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 16 Apr 2008 - 13:22:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Apr 2008 - 17:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive