totalParts: Returns the total number of partitions of the distributed...

Description Usage Arguments Value See Also Examples

View source: R/dobject.R

Description

Returns the total number of partitions of the distributed object. The result is same as prod(nparts(dobj))

Usage

1
totalParts(dobj)

Arguments

dobj

input distributed array, data.frame, or list.

Value

The total number of partitions in the distributed object.

See Also

nparts

Examples

1
2
3
4
5
## Not run: 
a <- darray(psize=c(3,3),dim=c(9,9)) # 9 partitions of 3x3
b <- totalParts(a) # Returns 9

## End(Not run)

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