new_cluster: Create a new cluster with sensible defaults.

View source: R/cluster.R

new_clusterR Documentation

Create a new cluster with sensible defaults.

Description

Clusters created with this function will automatically clean up after themselves.

Usage

new_cluster(n)

Arguments

n

Number of workers to create. Avoid setting this higher than the number of cores in your computer as it will degrade performance.

Value

A 'multidplyr_cluster' object.

Examples

cluster <- new_cluster(2)
cluster

multidplyr documentation built on March 31, 2023, 6:42 p.m.