8.0_131; module load R/4.0.0; Rscript</code></pre>
<p>which makes sure the <code>Rscript</code> from R-4.0.0 is used.</p>
<p>Similarlly, if you use <a href="https://docs.conda.io/en/latest/" class="external-link">conda</a> for managing different versions of software, you can also choose R with different versions by setting a proper <code>bsub_opt$call_Rscript</code>. Let assume you have conda environments for different R versions with the name schema <code>R_$version</code> (e.g. <code>R_3.6.0</code>), then