maximum {SparkR} | R Documentation |
Get the maximum element of an RDD.
maximum(rdd) ## S4 method for signature 'RDD' maximum(rdd)
rdd |
The RDD to get the maximum element from |
## Not run:
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, 1:10)
##D maximum(rdd) # 10
## End(Not run)