Pull and reassemble a distributed object locally

emerge(x, combiner = TRUE, ...)
emerge.default(x, combiner = TRUE, ...)
emerge.DistributedObject(x, combiner = TRUE, ...)

Arguments

x

Object to emerge; S3 method dispatches on.

combiner

Logical; run a combiner on the underlying chunks for the distributed object? Optionally pass a combiner function to run on the chunks.

...

Further arguments passed to methods.

Details

Synchronously pull and recreate a distributed object. If no combiner function provided, and combiner=TRUE, combine based on the combine method defined for the chunk classes.

Value

The value of the emerged object, or a list of chunks if combine=FALSE.

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x, combiner = TRUE, ...) 
UseMethod("emerge", x)
#> function (x, combiner = TRUE, ...) 
#> UseMethod("emerge", x)
#> <environment: 0x55b7ab8f5200>