title: Parallel Processing in R in caret
body: <p>It is given in the caret documentation that to allow parallel processing the following code works </p>
  
  <pre><code>library(doMC) 
  registerDoMC(cores = 5) 
  ## All subsequent models are then run in parallel
  </code></pre>
  
  <p>But in the latest R version(3.4) the package doMC is not available. Can anyone let me know of any other way to do parallel processing?</p>
  
  <p>Update : What Roman suggested worked. DoMC is not available for windows. For windows use doParallel package <code>cls = makeCluster(no of cores to use)</code> and then <code>registerDoParallel(cls)</code> . Also make sure allowParallel is set to TRUE in trControl. </p>