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.
setDoPar(fun, data = NULL, info = function(data, item) NULL)
A function that implements the functionality of %dopar%
.
Data to be passed to the registered function.
Function that retrieves information about the backend.