cache {SparkR} | R Documentation |
Persist this RDD with the default storage level (MEMORY_ONLY).
cache(rdd) ## S4 method for signature 'RDD' cache(rdd)
rdd |
The RDD to cache |
## Not run:
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, 1:10, 2L)
##D cache(rdd)
## End(Not run)