bpresume {BiocParallel}R Documentation

Resume computation with partial results

Description

Resume partial successful calls to bplapply or bpmapply

Usage

    bplasterror()
    bpresume(expr)

Arguments

expr

expression

A expression which calls either bplapply or bpmapply.

Usage

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.

Author(s)

Martin Morgan mailto:mtmorgan@fhcrc.org


[Package BiocParallel version 0.6.1 Index]