| tableToDF {SparkR} | R Documentation | 
Returns the specified Table as a SparkDataFrame. The Table must have already been registered in the SparkSession.
tableToDF(tableName)
| tableName | The SparkSQL Table to convert to a SparkDataFrame. | 
SparkDataFrame
tableToDF since 2.0.0
## Not run: 
##D sparkR.session()
##D path <- "path/to/file.json"
##D df <- read.json(path)
##D createOrReplaceTempView(df, "table")
##D new_df <- tableToDF("table")
## End(Not run)