Skip to content

[R-gui] R tcltk/tcltk2 vs. R GTk2

3 messages · morphwj at comcast.net, Michael Lawrence, Peter Dalgaard

2 days later
#
Michael Lawrence wrote:
Minor quibble: tcltk (mostly) binds directly to the Tcl *engine*, 
bypassing the parsing layer, $-substitution, quoting hell, etc. The 
Tcl/Tk engine is just another collection of C libraries. The major 
difference to Gtk+ is that the Tcl/Tk engine was designed to support 
interpreted languages (mainly, of course, Tcl).

Apart from that, I pretty much agree that RGtk2 could well be the 
toolkit of the future. It's main detraction at this point is that it is, 
at the tutorial level, mainly documented by demos and that it seems to 
be a bit sensitive to changes in the underlying toolkit and have a 
couple of rough edges in general. But it can certainly do amazing stuff; 
all it needs is a dedicated effort to take care of a number of little 
issues (esp. portability). That and an introductory document that covers 
the concepts involved.

(It needs to be no secret that I have been approached about the 
possibility of a book on R/tcltk, and ended up resolving that there 
would certainly be a market, but of the 3 or 4 candidates to write it, 
probably none would want to. However, in due course, when the obvious 
author completes his academic obligations, a book on RGtk2 should be a 
very interesting prospect.)