parallel.getNumWorkers {RnBeads} | R Documentation

## parallel.getNumWorkers

### Description

Gets the number of workers used for parallel processing.

### Usage

    parallel.getNumWorkers()

### Value

Number of workers used for parallel processing; `-1` if parallel processing is not enabled.

### Author(s)

Fabian Mueller

### Examples

    parallel.getNumWorkers()
    parallel.setup(2)
    parallel.getNumWorkers()
    parallel.teardown()
    parallel.getNumWorkers()

[Package RnBeads version 2.2.0 Index]