Learn R Programming

DLMtool (version 5.2)

setup: Setup parallel processing

Description

Sets up parallel processing using the snowfall package

Usage

setup(cpus = parallel::detectCores() * 0.5, ...)

Arguments

cpus

number of CPUs

...

other arguments passed to 'snowfall::sfInit'

Examples

Run this code
# NOT RUN {
setup() # set-up half the available processors
setup(6) # set-up 6 processors
# }

Run the code above in your browser using DataLab