Learn R Programming

DLMtool (version 5.1.3)

setup: Setup parallel processing

Description

Sets up parallel processing using the snowfall package

Usage

setup(cpus = min(parallel::detectCores(), 4), ...)

Arguments

cpus

number of CPUs

...

other arguments passed to 'snowfall::sfInit'

Examples

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

Run the code above in your browser using DataLab