inst/conf/multicore.R

cluster.functions <- local({
  workers <- future::availableCores(constraints="multicore")
  if (workers == 1L) {
    makeClusterFunctionsLocal()
  } else {
    makeClusterFunctionsMulticore(ncpus=workers)
  }
})

Try the future.BatchJobs package in your browser

Any scripts or data that you put into this service are public.

future.BatchJobs documentation built on Jan. 5, 2021, 1:07 a.m.