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