spark_connect(master, spark_home = Sys.getenv("SPARK_HOME"), method = c("shell"), app_name = "sparklyr", version = NULL, hadoop_version = NULL, config = spark_config(), extensions = sparklyr::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).sparklyr::register_extension.spark_disconnect