isLocal,DataFrame-method {SparkR} | R Documentation |
Returns True if the 'collect' and 'take' methods can be run locally (without any Spark executors).
## S4 method for signature 'DataFrame' isLocal(x) isLocal(x)
x |
A SparkSQL DataFrame |
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D isLocal(df)
## End(Not run)