I would like to use an R method such as
withTimeout(func,timeout=30)
to interrupt a potentially time consuming R library function which calls a C++ library function. This function does not check for R interrupts.
I have already figured out that this cannot be done in RStudio. Is there a way to do this in another IDE, or in native R?