On 11-09-21 5:12 AM, Ivan Calandra wrote:
Dear Barry,

Thanks for your input, that is indeed a very good idea (shame on me not
to have thought about it...).

As expected, it works fine on Windows XP, but crashes on Windows 7 at
dev.off (which means that the svg file is correctly created, but R
crashes every time, a bit annoying). This is therefore a devSVG problem
on Windows 7.

Now, does anyone know how to fix this?

RSvgDevice is a contributed package; you should contact the maintainer of it. There's also an svg() device in the upcoming R 2.14.0 on Windows (it has been on Unix-alikes for longer, I think); perhaps it will do what you need.

Duncan Murdoch


TIA,
Ivan

Le 9/21/2011 10:34, Barry Rowlingson a écrit :
On Wed, Sep 21, 2011 at 8:57 AM, Ivan Calandra
<ivan.calan...@uni-hamburg.de>   wrote:
Dear users,
I therefore don't provide a reproducible example and do not really extract
the relevant parts of the script because it has most likely nothing to do
with the script itself. I can do it though if you think it might be
relevant.
   In which case you could reduce your code to something we can all try
- does this crash for you:

library(RSvgDevice)
devSVG(file="foo.svg")
plot(1:10)
dev.off()

   - if not then something I've taken from your script is causing the
problem. Add bits back until it crashes.

   - if it does still crash then its likely a fundamental devSVG
problem, and you've now got something that hundreds of people reading
this can just cut n paste and go 'me too' or 'crashes for me'.

Barry



______________________________________________
R-help@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.

Reply via email to