ode></pre></div>
<p>Or set the image file as a global parameter:</p>
<div class="sourceCode" id="cb24"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/save.html" class="external-link">save.image</a></span><span class="op">(</span>file <span class="op">=</span> <span class="st">"/path/foo.RData"</span><span class="op">)</span></span>
<span><span class="va">bsub_opt</span><span class="op">$</span><span class="va">image</span> <span class="op