Skip to content

Instantly share code, notes, and snippets.

@seabbs
Created November 21, 2017 19:28
Show Gist options
  • Save seabbs/793743d9710ff7f588438d3f0420a367 to your computer and use it in GitHub Desktop.
Save seabbs/793743d9710ff7f588438d3f0420a367 to your computer and use it in GitHub Desktop.
How to start a multidplyr cluster
cluster <- create_cluster(CORES) %>%
cluster_library(c("PACKAGE_NAME")) %>%
cluster_copy(CUSTOM_VARIABLE)
then use parition and collect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment