Re: [Rd] tcltk freezing using MS Windows for R-2.14+

From: Moeltner, Andreas <Andreas.Moeltner_at_med.uni-heidelberg.de>
Date: Tue, 18 Dec 2012 10:38:19 +0000


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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 18 Dec 2012 - 11:32:32 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Dec 2012 - 06:12:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive