SetParallel {grandR}R Documentation

Set up parallel execution

Description

Set the number of cores for parallel execution.

Usage

SetParallel(cores = max(1, parallel::detectCores() - 2))

Arguments

cores

number of cores

Details

Whenever psapply or plapply are used, they are executed in parallel.

Value

No return value, called for side effects


[Package grandR version 0.2.5 Index]