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

View source: R/systemDependentParallel.R

doParallelR Documentation

Parallel execution of code, dependent on the operating system

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

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 June 26, 2022, 1:06 a.m.