Description Usage Arguments Value
Start the Spark R Shell
Stop the Spark R Shell
1 2 3 4 5 6 | start_shell(master, spark_home = Sys.getenv("SPARK_HOME"),
spark_version = NULL, app_name = "sparkapi", config = list(),
extensions = sparkapi::registered_extensions(), jars = NULL,
packages = NULL, environment = NULL, shell_args = NULL)
stop_shell(sc)
|
master |
Spark cluster url to connect to. Use |
spark_home |
Spark home directory (defaults to SPARK_HOME environment variable) |
spark_version |
Spark version, if not specified, version taken from SPARK_HOME |
app_name |
Application name to be used while running in the Spark cluster |
config |
Named character vector of spark.* options |
extensions |
Extension packages to include dependencies for
(see |
jars |
Paths to Jar files to include |
packages |
Spark packages to include |
environment |
Environment variables to set |
shell_args |
Additional command line arguments for spark_shell |
sc |
|
spark_connection
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.