do_dmapply: Backend-specific dmapply logic. This is a required override...

Description Usage Arguments Value

Description

Backend-specific dmapply logic. This is a required override for all backends to implement so dmapply works.

Usage

1
2
3
4
5
6
7
8
do_dmapply(driver, func, ..., MoreArgs = list(), output.type = "dlist",
  nparts = NULL, combine = "default")

## S4 method for signature 'ParallelddR,'function''
do_dmapply(driver, func, ...,
  MoreArgs = list(), output.type = c("dlist", "dframe", "darray",
  "sparse_darray"), nparts = NULL, combine = c("default", "c", "rbind",
  "cbind"))

Arguments

driver

The driver that the logic dispatches on.

func

The function to execute

...

Iterable arguments from dmapply.

MoreArgs

A list of more arguments to the funciton.

output.type

The type of output (can be 'dlist', 'darray', 'sparse_darray', or 'dframe').

nparts

A 2d-vector indicating how the output is partitioned.

combine

One of 'default', 'rbind', 'cbind', or 'c', which specifies how the results from each partition should be combined.

Value

An object specific to the backend, with the nparts and psize fields filled.


ddR documentation built on May 29, 2017, 6:52 p.m.