withTimeout bug, it does not work properly with nlme anymore
I was relying on withTimeout (from R.utils) to help me stop nlme when it �hangs�. However, recently this stopped working. I am pasting a reproducible example below: withTimeout should stop nlme after 10 seconds but the code will generate data for which nlme does not converge (or takes too long) and withTimeout does not stop it. I tried this both on a linux (64 bit, CentOS 7, R 3.4.1, nlme 3.1-131 R.util 2.6, and also with R 3.2.5) and mac (Sierra 10.13.1, R 3.4.2, same versions or nlme and R.utils). It takes over R and I need to use brute-force to stop it. As mentioned, this used to work and it is very helpful for the purposes of having a loop where nlme goes through many models.