powered by
Sets up parallel processing using the snowfall package
setup(cpus = min(parallel::detectCores(), 4), ...)
number of CPUs
other arguments passed to 'snowfall::sfInit'
# NOT RUN { setup() # set-up 4 processors setup(6) # set-up 6 processors # }
Run the code above in your browser using DataLab