Thanks Duncan for testing. I have installed the latest binary I could find which is:

R Under development (unstable) (2012-11-16 r61126)
Platform: x86_64-w64-mingw32/x64 (64-bit)

I still have a problem.

I have shortened the code as you suggested - now it's only 6 lines! could you try this please:

test2GUI <- function(){
    require(tcltk)
    MainWindow <- tktoplevel()
    topMenu <- tkmenu(MainWindow)
    tkconfigure(MainWindow,menu=topMenu)
    tkgrab.set(MainWindow)
    tkfocus(MainWindow)
}

When I run this function 40 times my record of success was as follows
01011111101011111010110111110001111100001
where 1 means I could close the window, 0 means it froze.
I could actually run the function 20 times, displaying 20 windows and then tried to close them one by one. I then repeated this after using the mouse right click on the task bar to close those windows that were frozen.

I haven't submitted it to R bug list yet. Should I now go ahead and do that?

cheers,

Keith Satterley


On 20/11/2012 8:20 AM, Duncan Murdoch wrote:
On 19/11/2012 12:05 AM, Keith wrote:
...
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.


Of course, there is no 2.16.0 yet, but one more datapoint: I can't reproduce the problem with a current build of R-devel (i.e. the one that reports itself as 2012-11-19 r61131. What version were you trying?

Duncan Murdoch


______________________________________________________________________
The information in this email is confidential and intend...{{dropped:4}}

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to