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