setup: Setup parallel processing

Description Usage Arguments Examples

View source: R/Misc_Exported.R

Description

Sets up parallel processing using the snowfall package

Usage

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

Arguments

cpus

number of CPUs

...

other arguments passed to 'snowfall::sfInit'

Examples

1
2
3
4
5
## Not run: 
setup() # set-up half the available processors
setup(6) # set-up 6 processors

## End(Not run)

DLMtool documentation built on March 13, 2020, 2:52 a.m.