buildCluster: Builds a cluster of working nodes.

Description Usage Arguments Value

View source: R/buildCluster.R

Description

Builds a cluster of working nodes using the parallel package. On Unix-like operating systems it builds as "FORK" cluster while on Windows it builds a "SOCKET" cluster. The number of working nodes equals the number of available (logical) cores as it is detected by the call of detectCores() function. On Windows, it also exports a list of variables and an environment passed as arguments. This is an internal function of the package, and it is not available to be direclty called by users.

Usage

1
buildCluster(varlist, env)

Arguments

varlist

A list of variables to be exported to every working node.

env

An environment to be exported to every working node.

Value

A cluster object used to distribute the computations.


bogdanoancea/inference documentation built on Nov. 28, 2020, 9:20 p.m.