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