make_parallel_cluster: Create a parallel cluster (fork on *nix, PSOCK on Windows)

View source: R/parallel_helpers.R

make_parallel_clusterR Documentation

Create a parallel cluster (fork on *nix, PSOCK on Windows)

Description

Returns a 'parallel' cluster object that already has the RNG streams (L'Ecuyer-CMRG) and required packages loaded.

Usage

make_parallel_cluster(use_threads, seed = NULL)

Arguments

use_threads

Integer \>=1 - number of workers.

seed

Optional integer or L'Ecuyer-CMRG stream (length 7) for reproducibility.

Value

A cluster object (or NULL when the backend is "future").


TesiproV documentation built on Oct. 28, 2026, 5:13 p.m.