ggsave as svg

84 views
Skip to first unread message

mroessler

unread,
Jul 29, 2009, 3:39:05 PM7/29/09
to ggplot2
What must be done in order to allow ggsave to to save to an svg
device? I have tried loading RSvgDevice, but I receive "Error: 'svg'
is not an exported object from 'namespace:grDevices'".

mroessler

unread,
Jul 29, 2009, 6:55:57 PM7/29/09
to ggplot2
YOWP - Yet Another Windows Problem

ggsave is able to produce svg with no issue on Linux. This is yet
another windows problem.

baptiste auguie

unread,
Jul 30, 2009, 4:12:25 AM7/30/09
to mroessler, ggplot2
Has it got something to do with

capabilities("cairo")

?

baptiste
--
_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

http://newton.ex.ac.uk/research/emag
______________________________

mroessler

unread,
Jul 31, 2009, 6:32:18 PM7/31/09
to ggplot2
Thank you for the idea. I had tried installing and loading "Cairo" and
"cairoDevice", but these seem not to allow R to recognize the svg
command on Windows.

On Jul 30, 1:12 am, baptiste auguie <bapt4...@googlemail.com> wrote:
> Has it got something to do with
>
> capabilities("cairo")
>
> ?
>
> baptiste
>
Reply all
Reply to author
Forward
0 new messages