Description Usage Arguments Author(s)
This function limits elapsed time spent on single model development. It uses low-level functions of parallel packege and sets the fork process with time limit. If the result is not returned within set time, it kills fork. Function shouldn't be called from R console. The function is not used under Windows OS. Only Unix-like systems have fork functionality.
1 |
... |
Expression to be time limited |
seconds |
Number of seconds |
Original code by Jeroen Ooms <jeroen.ooms at stat.ucla.edu> of OpenCPU package. Modifications by Jakub Szlek and Aleksander Mendyk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.