SparkR (version 2.4.6)

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 DataCamp Workspace