Skip to contents

Prints out the schema in tree format

Usage

printSchema(x)

# S4 method for class 'SparkDataFrame'
printSchema(x)

Arguments

x

A SparkDataFrame

Note

printSchema since 1.4.0

Examples

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