Learn R Programming

SparkR (version 3.1.2)

spark.getSparkFiles: Get the absolute path of a file added through spark.addFile.

Description

Get the absolute path of a file added through spark.addFile.

Usage

spark.getSparkFiles(fileName)

Arguments

fileName

The name of the file added through spark.addFile

Value

the absolute path of a file added through spark.addFile.

Examples

Run this code
# NOT RUN {
spark.getSparkFiles("myfile")
# }

Run the code above in your browser using DataLab