[rkward-users] Compatibility between RKWard and RGtk2

Nicolas Chapados nicolas.chapados at gmail.com
Mon Aug 31 14:31:59 UTC 2009


Hello all,

I'm a new RKWard user and so far I've been quite pleased with the
environment it provides for R development.  However, I'm wondering if
the compatibility with RGtk2 has been tested.  The following simple
program crashes RKWard with a SIGABRT ::

    require(RGtk2)
    require(gWidgets)
    require(gWidgetsRGtk2)
    options("guiToolkit" = "RGtk2")
    gbutton("Hello world", container=gwindow())

(I would gladly use Qt widgets within R, but there does not appear to
be any suitable bindings available.)
I am running under Ubuntu 9.04 and RKWard 0.5.1.  Here is the traceback I get ::

Application: RKWard (rkward), signal SIGABRT
[Current thread is 0 (LWP 11110)]
Thread 2 (Thread 0xb2e7bb90 (LWP 11115)):
#0  0xb7fac430 in __kernel_vsyscall ()
#1  0xb5aed412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb5cdf344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5ec9359 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5ec948b in QThread::msleep () from /usr/lib/libQtCore.so.4
#5  0x08142419 in _start ()
Thread 1 (Thread 0xb4dc6700 (LWP 11110)):
[KCrash Handler]
#6  0xb7fac430 in __kernel_vsyscall ()
#7  0xb5c176d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5c19098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5c105ce in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb5b3e7d7 in ?? () from /usr/lib/libX11.so.6
#11 0xb5b3f0e5 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0xb5b27738 in XPending () from /usr/lib/libX11.so.6
#13 0xb4700796 in gdk_event_check (source=0x0) at
/build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkevents-x11.c:154
#14 0xb504b6f6 in IA__g_main_context_check (context=0x9659e90,
max_priority=2147483647, fds=0x9f4a148, n_fds=13) at
/build/buildd/glib2.0-2.20.1/glib/gmain.c:2323
#15 0xb504bfdd in g_main_context_iterate (context=0x9659e90, block=1,
dispatch=1, self=0x9657568) at
/build/buildd/glib2.0-2.20.1/glib/gmain.c:2445
#16 0xb504c268 in IA__g_main_context_iteration (context=0x9659e90,
may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#17 0xb5fe9438 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#18 0xb630d365 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb5fbc06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb5fbc4aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#21 0xb5fbe959 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#22 0xb626bd17 in QApplication::exec () from /usr/lib/libQtGui.so.4
#23 0x080741c7 in _start ()


Many thanks for any help!
+ Nicolas Chapados




More information about the Rkward-users mailing list