showDF,DataFrame-method {SparkR} | R Documentation |
Print the first numRows rows of a DataFrame
## S4 method for signature 'DataFrame' showDF(x, numRows = 20) showDF(x, ...)
x |
A SparkSQL DataFrame |
numRows |
The number of rows to print. Defaults to 20. |
## Not run:
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D path <- "path/to/file.json"
##D df <- jsonFile(sqlContext, path)
##D showDF(df)
## End(Not run)