cluster_setup: Convenience Function to set up a cluster used for...

View source: R/parallel_helpers.R

cluster_setupR Documentation

Convenience Function to set up a cluster used for multiprocessing

Description

Convenience Function to set up a cluster used for multiprocessing

Usage

cluster_setup(ncores = 2, cluster_type = "FORK", debug = FALSE, outfile = NULL)

Arguments

ncores

Numbers of processes the cluster should use

cluster_type

"FORK" or "PSOCK". Fork is faster but doesn't work on Windows

debug

TRUE if the cluster log should be written to file

outfile

Path where the cluster log is written to in debug mode.


sims1253/bayesim documentation built on Aug. 13, 2024, 5:59 p.m.