Find the SPARK_HOME directory for a version of Spark

R/spark_home.R

spark_home_dir

Description

Find the SPARK_HOME directory for a given version of Spark that was previously installed using spark_install.

Usage

spark_home_dir(version = NULL, hadoop_version = NULL) 

Arguments

Arguments Description
version Version of Spark
hadoop_version Version of Hadoop

Value

Path to SPARK_HOME (or NULL if the specified version was not found).