spark_connect(master, spark_home = Sys.getenv("SPARK_HOME"), app_name = "sparklyr", version = NULL, hadoop_version = NULL, config = spark_config(), extensions = sparkapi::registered_extensions())
"local"
to connect to a local
instance of Spark installed via spark_install
.SPARK_HOME
is defined it will be always be used unless the version
paramater is specified to force the use of a locally installed version.spark_config for details
).sparkapi::register_extension
.spark_disconnect