setName {SparkR} | R Documentation |
Set an RDD's name.
setName(rdd, name) ## S4 method for signature 'RDD,character' setName(rdd, name)
rdd |
The RDD whose name is to be set. |
name |
The RDD name to be set. |
a new RDD renamed.
## Not run:
##D sc <- sparkR.init()
##D rdd <- parallelize(sc, list(1,2,3))
##D setName(rdd, "myRDD")
##D name(rdd) # "myRDD"
## End(Not run)