count,DataFrame-method {SparkR} | R Documentation |
Returns the number of rows in a DataFrame
## S4 method for signature 'DataFrame' count(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 count(df)
## End(Not run)