Skip to content
Back to formatted view

Raw Message

Message-ID: <A66205E9BC01644FA7EF2506B21345696825E92D@EXC16.ads.krz.uni-heidelberg.de>
Date: 2012-12-18T10:38:19Z
From: Moeltner, Andreas
Subject: tcltk freezing using MS Windows for R-2.14+

R Version 2.15.0/Windows XP

Maybe this will help to identify the problem (I have similar problems with other tcltk-windows, too.)

Inserting some time delay after tktoplevel helps (on my PC):

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

Cheers
Andreas





Andreas M?ltner