Functions to set CPU and/or elapsed time limits for top-level computations or the current session.
setTimeLimit(cpu = Inf, elapsed = Inf, transient = FALSE)<p></p><p>setSessionTimeLimit(cpu = Inf, elapsed = Inf)</p>
| Parameter | Description |
|---|---|
cpu, elapsed |
double (of length one). Set a limit on the total or elapsed cpu time in seconds, respectively. |
transient |
logical. If TRUE, the limits apply only to the rest of the current computation. |