 class="op">(</span></span>
<span>  <span class="fl">4</span>,</span>
<span>  type <span class="op">=</span> <span class="st">"PSOCK"</span></span>
<span><span class="op">)</span></span>
<span></span>
<span><span class="co">#registering cluster (rf functions register it anyway)</span></span>
<span><span class="fu">doParallel</span><span class="fu">::</span><span class="fu"><a href="https://rdrr.io/pkg/doParallel/man/registerDoParallel.html" class="external-link">registerDoParallel</a></span><span class="op"