Learn R Programming

rplexos (version 1.1.11)

start_parallel_rplexos: Enable or disable parallel queries

Description

Multiple solutions can be queried in parallel to improve performace.

Usage

start_parallel_rplexos(ncores = 1, silent = FALSE)
stop_parallel_rplexos()
check_parallel_rplexos()
is_parallel_rplexos()

Arguments

ncores
Number of cores to use (defaults to 1)
silent
Print status of parallel queries at the end

Details

The start_parallel_rplexos allows the user to set the number of cores to use when querying in parallel.

If the number of cores is set to 1 (the default), parallel queries are disables.

is_parallel_plexos and check_parallel_plexos show whether parallel queries are currently enabled and the number of cores being used, respectively.

Examples

Run this code
## Not run: start_parallel_rplexos(3)

Run the code above in your browser using DataLab