[Rd] tcltk freezing using MS Windows for R-2.14+

Duncan Murdoch murdoch.duncan at gmail.com
Mon Nov 19 22:03:28 CET 2012

On 19/11/2012 12:05 AM, Keith wrote:
> ...

> A Main Window pops up with "Main Window" in the Menu bar. Click on "Main
> Window" and the first (and only) item on the menu drops down and it is
> called "Normalize". Clicking this opens another windows entitled "Get
> Method". If there is a problem (it is intermittent), it is evidenced by
> the fact that the "Get Method" window will not close.
> It cannot be closed by clicking. The window is frozen open. It can be
> moved but not closed. On MS Windows, the "Get Method" window can be
> closed using the right button close window option on the task bar icon
> Typically the problem occurs infrequently in the first 10 presses on the
> "Normalize" item, but more frequently there after.
> I have NOT had the problem on Mac OSX or Linux.
> On MS Windows (I have tested on Win XP-32bit and Win7-64bit) the problem
> occurs in R-2.16.0, R-2.15.2, R-2.15.1,R-2.14.0.
> THERE IS NO PROBLEM WITH R-2.13.1 and R-2.13.0
> I have run it using debug("GetNMethod"). Stepping through the GetNMethod
> function results in freezing when asked to do the "tkgrab.set(GNMethod)"
> instruction.
> I would appreciate if others can confirm similar behaviour.b
> Can anyone suggest why it worked under R-2.13.x but not in later
> versions of R.
> Was there a change in R that impacts with this aspect of tcltk?
> Is there a work around for this problem?

If all you are interested in is closing the Window, it seems on my 
Windows 7 system that right clicking the corresponding button in the 
task bar at the bottom of the screen to bring up the local menu, and 
choosing "close", will successfully close it.

Of course, this doesn't address the real problem.

Duncan Murdoch

More information about the R-devel mailing list