Skip to content
Prev 76446 / 398502 Next

tcl/tk return problem

On Wed, 31 Aug 2005, Duncan Murdoch wrote:

            
It was the question asked!  If you use a non-modal tcltk dialog you
have little choice, as the parent function will have returned and vanished
long ago.  Now, having a widget firing off R commands independently of the
command line is not a great idea (R's evaluator is not multithreaded and
this could be interspersed in another computation) so there is a lot to be
said for using dialog boxes modally.
One could argue the user who pressed the button does: it is the user
workspace.