Learn R Programming

ddR (version 0.1.2)

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

Description

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

Usage

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

Run this code
## Not run: 
# a <- darray(psize=c(3,3),dim=c(9,9)) # 9 partitions of 3x3
# b <- totalParts(a) # Returns 9
# ## End(Not run)

Run the code above in your browser using DataLab