powered by
Extract Results from shard_map
results(x, flatten = TRUE)
List or vector of results.
A shard_result object.
Logical. Flatten nested results?
# \donttest{ result <- shard_map(4L, function(shard) shard$idx[[1L]], workers = 2) pool_stop() results(result) # }
Run the code above in your browser using DataLab