Learn R Programming

multidplyr (version 0.1.3)

new_cluster: Create a new cluster with sensible defaults.

Description

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

Usage

new_cluster(n)

Value

A `multidplyr_cluster` object.

Arguments

n

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

Examples

Run this code
cluster <- new_cluster(2)
cluster

Run the code above in your browser using DataLab