Closed danpbowen closed 8 years ago
Typo?
whoa. I had a couple typos in there. This checks out:
cluster2 <- create_cluster(2)
mtcars_cl <- partition(mtcars, cluster = cluster2)
cyl8 <- 8
cluster_assign_value(cluster = cluster2, name = "cyl8", value = cyl8)
cluster_get(cluster = cluster2, "cyl8")
mtcars_cl %>% filter(cyl == cyl8)
As I understand how to send objects/values to each cluster for filtering - for example - is to use the cluster_assign_value() function for each value needed.
Maybe I'm not doing this correctly, but I would expect the below code to work.