Skip to contents

Prints out the schema in tree format

Usage

printSchema(x)

# S4 method for SparkDataFrame
printSchema(x)

Arguments

x

A SparkDataFrame

Note

printSchema since 1.4.0

Examples

if (FALSE) {
sparkR.session()
path <- "path/to/file.json"
df <- read.json(path)
printSchema(df)
}