[R] R crash

Duncan Murdoch murdoch.duncan at gmail.com
Wed Sep 21 13:45:18 CEST 2011


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.calandra at 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
>>
>



More information about the R-help mailing list