All the buttons call the same function "plotDialog1". With the objective
of call a dialog to select some plotting options.
When I select one of the radiobuttons and the windows with the plotting
options appears. It appears blank, and I obtain this message of error in R:
> Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"),
class = " tclObj") :
[tcl] grab failed: window not viewable.
All radio buttons are within a frame in a window named "dlg". I've
removed nearly everything in this function and I still obtain the same
error when clicking on a radiobutton.
Even with this very simple remaining code: