Skip to content
Prev 44481 / 63421 Next

tcltk freezing using MS Windows for R-2.14+

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:
______________________________________________________________________
The information in this email is confidential and intend...{{dropped:4}}