Learn R Programming

ddR (version 0.1.2)

getBestOutputPartitioning: This is an overrideable function that determines what the output partitioning scheme of a dlapply or dmapply function should be. It determines the 'ideal' nparts for the output if it is not supplied. For API standard-enforcement, overriding this is not recommended.

Description

This is an overrideable function that determines what the output partitioning scheme of a dlapply or dmapply function should be. It determines the 'ideal' nparts for the output if it is not supplied. For API standard-enforcement, overriding this is not recommended.

Usage

getBestOutputPartitioning(driver, ..., nparts = NULL, type = NULL)
"getBestOutputPartitioning"(driver, ..., nparts = NULL, type = NULL)

Arguments

driver
The backend driver to dispatch on.
...
The arguments to this dmapply operation.
nparts
The nparts argument, if any, supplied by the user.
type
The output.type supplied by the user.

Value

A 2d-vector, that will be passed into your backend's do_dmapply.

Methods (by class)

  • ddRDriver: The default implementation for getBestOutputPartitioning.