[rkward-devel] dev.off () bug
Prasenjit Kapat
kapatp at gmail.com
Thu Jun 24 23:24:29 UTC 2010
HI,
On Thu, Jun 24, 2010 at 1:57 PM, Prasenjit Kapat <kapatp at gmail.com> wrote:
> On Thu, Jun 24, 2010 at 12:04 PM, Thomas Friedrichsmeier
> <thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
>> Hi,
>>
>> I see that you found a workaround, but of course it would be best, if we can
>> fix the problem at its root. I suspect it's due to the fact that the RKWard
>> GUI thread attempts to do something with the X window, when it is already
>> gone in R. Then, for some reason, R spawns two new devices in reaction to
>> that. I'm attaching a patch that removes your workaround, and tries to add
>> some better synchronization instead. Since I still don't see the issue,
>> could you please test, whether this fixes the problem for you?
>
> I'll try the patch as soon as I get back.
Nice.. the patch works! So, basically, close the window instead of
calling the "real" dev.off()!
Regards,
--
Prasenjit
More information about the Rkward-devel
mailing list