Learn R Programming

shard (version 0.1.0)

print.shard_reduce_result: Print a shard_reduce_result Object

Description

Print a shard_reduce_result Object

Usage

# S3 method for shard_reduce_result
print(x, ...)

Value

The input x, invisibly.

Arguments

x

A shard_reduce_result object.

...

Further arguments (ignored).

Examples

Run this code
# \donttest{
res <- shard_reduce(4L, map = function(s) sum(s$idx),
  combine = `+`, init = 0, workers = 2)
pool_stop()
print(res)
# }

Run the code above in your browser using DataLab