getBestOutputPartitioning: This is an overrideable function that determines what the...

Description Usage Arguments Value Methods (by class)

View source: R/ddR.R

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

1
2
3
4
5
getBestOutputPartitioning(driver, ..., nparts = NULL, type = NULL)

## S3 method for class 'ddRDriver'
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)


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