Skip to content
Back to formatted view

Raw Message

Message-ID: <50AABDF8.1040706@wehi.edu.au>
Date: 2012-11-19T23:17:12Z
From: Keith Satterley
Subject: tcltk freezing using MS Windows for R-2.14+
In-Reply-To: <50AAA28D.2080702@gmail.com>

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}}