nk">saveRDS</a></span><span class="op">(</span><span class="va">fit</span>, file <span class="op">=</span> <span class="st">"/path/to/fit.rds"</span><span class="op">)</span></span>
<span><span class="op">}</span><span class="op">)</span></span></code></pre></div>
<p>In the following examples, we use <code>Sys.sleep(5)</code> to simulate a chunk of code which runs for a short time.</p>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a hr