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

Description Usage Arguments Value Note Examples

View source: R/context.R

Description

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

Usage

1

Arguments

fileName

The name of the file added through spark.addFile

Value

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

Note

spark.getSparkFiles since 2.1.0

Examples

1
2
3
4
## Not run: 
spark.getSparkFiles("myfile")

## End(Not run)

SparkR documentation built on June 3, 2021, 5:05 p.m.