Christophe Weblog Wiki Code Publications Music
integrate into R's event loop, possibly
authorChristophe Rhodes <csr21@cantab.net>
Fri, 3 Sep 2010 07:07:43 +0000 (08:07 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 3 Sep 2010 07:07:43 +0000 (08:07 +0100)
commitab6021d4671892eabc80b7cde045db632176116e
treef7c0d5f3f60694115d2021372e9e0135f462fd21
parentc15f7575dad3773f1f56e37f5943d8d277f76ee8
integrate into R's event loop, possibly

in readPacket, call socketSelect() before actually trying to read on
the connection.  This seems to allow R to update graphics windows and
other such niceties.

It would be nice to be able to preserve the (inferior) R REPL as well,
but I haven't yet discovered whether that's possible.
swank.R