parabar
BackendsProvides a 'foreach' parallel adapter for 'parabar' backends. This package offers a minimal implementation of the '
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()
.
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.
For more information about parabar::parabar
, please consult de
documentation and examples at
parabar.mihaiconstantin.com.
For specific information about using parabar::parabar
in conjunction
with foreach::foreach
please check the online vignette at
parabar.mihaiconstantin.com/articles/foreach.
Maintainer: Mihai Constantin mihai@mihaiconstantin.com (ORCID)
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.