bpschedule {BiocParallel} | R Documentation

## Schedule back-end Params

### Description

Use functions on this page to influence scheduling of parallel processing.

### Usage

    bpschedule(x)

### Arguments

`x` | An instance of a `BiocParallelParam` class, e.g., `MulticoreParam`, `SnowParam`, `DoparParam`. `x` can be missing, in which case the default back-end (see `register`) is used.

### Details

`bpschedule` returns a logical(1) indicating whether the parallel evaluation should occur at this point.

### Value

`bpschedule` returns a scalar logical.

### Author(s)

Martin Morgan mailto:mtmorgan@fhcrc.org.

### See Also

`BiocParallelParam` for possible values of `x`.

### Examples

    bpschedule(SnowParam())                 # TRUE
    bpschedule(MulticoreParam(2))           # FALSE on windows

    p <- MulticoreParam()
    bpschedule(p)                           # TRUE
    bplapply(1:2, function(i, p) {
        bpschedule(p)                       # FALSE
    }, p = p, BPPARAM=p)

[Package BiocParallel version 1.26.2 Index]