Skip to content
Prev 14211 / 15075 Next

tcltk causes help() to hang in R 4.2.0 on macOS

For reference, this problem is not macOS specific, it also exists on 
Linux (but not on Windows which use a different code path) and the core 
problem is how to prevent re-entrant execution of R event handlers when 
run from the R/tcltk event loop, itself running from an R event handler.

R-patched now contains a defensive work-around from Simon.

We have added a more efficient and cleaner fix to R-devel, but there is 
some risk of breakage: this form is "the documented way" but didn't work 
on some systems ~22 years ago. So it would be great if people using 
Tcl/Tk in R on Unix, and particularly those with rarely used window 
managers, could test their applications or the tcltk package demos and 
report any issues well before the next release.

Thanks
Tomas
On 5/30/22 01:27, John Fox wrote: