Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setDoPar

setDoPar


Description

The setDoPar function is used to register a parallel backend with the foreach package. This isn't normally executed by the user. Instead, packages that provide a parallel backend provide a function named registerDoPar that calls setDoPar using the appropriate arguments.

Usage

setDoPar(fun, data = NULL, info = function(data, item) NULL)

Arguments

fun

A function that implements the functionality of %dopar%.

data

Data to be passed to the registered function.

info

Function that retrieves information about the backend.

See Also


foreach

Provides Foreach Looping Construct

v1.5.1
Apache License (== 2.0)
Authors
Michelle Wallig [cre], Microsoft [aut, cph], Steve Weston [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.