doParallel: Parallel execution of code, dependent on the operating system

Description Usage Arguments

View source: R/systemDependentParallel.R

Description

mclapply is only supported on linux and macOS. On Windows parlapply should be used. This function switches between both dependent on the operating system of the user.

Usage

1
doParallel(X, FUN, nCores = 2, ...)

Arguments

X

vector with arguments to parallelize over

FUN

function that shall be applied to each element of X

nCores

integer. Defines the number of cores.

...

optional arguments to FUN


SPOT documentation built on Oct. 23, 2021, 1:06 a.m.