Re: [Rd] setTimeLimit sometimes fails to terminate idle call in R

2013-05-16 Thread Jeroen Ooms
Thank you for the elaborate response. I am going to look into the quartz code. > On top of my head I can't think of a built-in solution in R at this point > (even though it could be argued that R might install a handler itself when > the limit is set ...). Yes, I think this would greatly enhanc

Re: [Rd] setTimeLimit sometimes fails to terminate idle call in R

2013-05-16 Thread Simon Urbanek
Jeroen, On May 16, 2013, at 2:12 PM, Jeroen Ooms wrote: > I would like to use setTimeLimit to abort operations that are stuck > waiting (idle) after n seconds. Below a toy example in which Sys.sleep > is a placeholder call that is idle: > > testlimit <- function(){ > setTimeLimit(elapsed=3, tra