Description Usage Arguments Constructor Methods Author(s) See Also Examples
This class is used to parameterize serial evaluation, primarily to facilitate easy transition from parallel to serial code.
1 2 | SerialParam(stop.on.error = TRUE, log = FALSE,
threshold = "INFO", logdir = NA_character_, progressbar = FALSE)
|
stop.on.error |
A |
log |
|
threshold |
|
logdir |
|
progressbar |
|
SerialParam()
:
Return an object to be used for serial evaluation of otherwise
parallel functions such as bplapply
,
bpvec
.
The following generics are implemented and perform as documented on
the corresponding help page (e.g., ?bpworkers
):
bpworkers
. bpisup
, bpstart
,
bpstop
, are implemented, but do not have any
side-effects.
Martin Morgan mailto:mtmorgan@fhcrc.org
getClass("BiocParallelParam")
for additional parameter classes.
register
for registering parameter classes for use in parallel
evaluation.
1 2 3 4 5 6 7 8 | p <- SerialParam()
simplify2array(bplapply(1:10, sqrt, BPPARAM=p))
bpvec(1:10, sqrt, BPPARAM=p)
## Not run:
register(SerialParam(), default=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.