Learn R Programming

doParabar (version 1.0.2)

doParabar-package: Foreach Parallel Adaptor For parabar Backends

Description

logo

Provides a 'foreach' parallel adapter for 'parabar' backends. This package offers a minimal implementation of the '

Arguments

Package Loading

By default, and for various reasons, the doParabar package does not automatically load other packages. Instead, I recommended to load the foreach::foreach and parabar::parabar packages explicitly in your scripts (i.e., or add them to your Imports in the DESCRIPTION file when developing an R package). Package startup messages can be suppressed via base::suppressPackageStartupMessages().

Automatic Exporting

Note that doParabar does not automatically export variables to the backend. Instead, I strongly recommend being explicit about what you want to export to the backend and use the .export and .noexport arguments. Similarly, the .packages argument can be used to indicate which packages should be loaded on the backend. Please check the Details section of the documentation for doPar() for all supported arguments.

Resources

Author

Maintainer: Mihai Constantin mihai@mihaiconstantin.com (ORCID)

Details

The doParabar package acts as a foreach::foreach parallel adaptor for parabar::parabar backends. It provides a minimal implementation for the foreach::%dopar% operator, enabling seamless integration of the parabar::parabar package with the foreach::foreach package.

See Also