...
Return values from distributed computations have to come across a socket connection, so be careful what you return. Status values such as dim(result) can confirm that a computation succeeded and are often better than returning a whole result
Code Block |
---|
results <- clusterEvalQ(cl, {
result <- produceGiantResultMatrix(foo, bar, bat)
dim(result)
}) |
...