saveAsObjectFile {SparkR} | R Documentation |
Save this RDD as a SequenceFile of serialized objects.
saveAsObjectFile(rdd, path) ## S4 method for signature 'RDD,character' saveAsObjectFile(rdd, path)
rdd |
The RDD to save |
path |
The directory where the file is saved |
objectFile
## Not run:
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, 1:3)
##D saveAsObjectFile(rdd, "/tmp/sparkR-tmp")
## End(Not run)