maximum {SparkR}R Documentation

Get the maximum element of an RDD.

Description

Get the maximum element of an RDD.

Usage

maximum(rdd)

## S4 method for signature 'RDD'
maximum(rdd)

Arguments

rdd

The RDD to get the maximum element from

Examples

## Not run: 
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, 1:10)
##D maximum(rdd) # 10
## End(Not run)

[Package SparkR version 0.1 Index]