Learn R Programming

ddR (version 0.1.2)

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

Description

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

Usage

do_dmapply(driver, func, ..., MoreArgs = list(), output.type = "dlist", nparts = NULL, combine = "default")
"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.