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

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.