Skip to contents

Get storagelevel of this SparkDataFrame.

Usage

# S4 method for SparkDataFrame
storageLevel(x)

Arguments

x

the SparkDataFrame to get the storageLevel.

Note

storageLevel since 2.1.0

Examples

if (FALSE) {
sparkR.session()
path <- "path/to/file.json"
df <- read.json(path)
persist(df, "MEMORY_AND_DISK")
storageLevel(df)
}