| bpresume {BiocParallel} | R Documentation |
Resume partial successful calls to bplapply or bpmapply
bplasterror()
bpresume(expr)
expr |
expression |
A expression which calls either bplapply or bpmapply.
The resume mechanism is triggered if the argument
catch.errors of the BiocParallelParam class is
set to TRUE. The methods bplapply and
bpmapply then store the current state of computation.
Recalling the call directory with argument BPRESUME set to
TRUE will then only compute the missing parts of the previous
call and merge the results.
Alternatively, if the call to bplapply and
bpmapply is inside a function not accessible directly
by the user, the last call can be embedded into bpresume
which sets an option accordingly to enable the resume feature down
in the call stack.
The function bplasterror returns a LastError object
containing the partial results and errors to investigate.
Note that nested calls of the apply functions can cause troubles in some scenarios.
Martin Morgan mailto:mtmorgan@fhcrc.org