cacheTable {SparkR} | R Documentation |
Caches the specified table in-memory.
## Default S3 method: cacheTable(tableName)
tableName |
The name of the table being cached |
SparkDataFrame
cacheTable since 1.4.0
## Not run:
##D sparkR.session()
##D path <- "path/to/file.json"
##D df <- read.json(path)
##D createOrReplaceTempView(df, "table")
##D cacheTable("table")
## End(Not run)