admin管理员组

文章数量:1123800

I am having an issue while trying to create new kernel for JupyterLab for R + Spark.

Without spark something like this works for me (kernel.json)

{
    "display_name": "R",
    "language": "R",
    "argv": ["R", "--slave", "-e", "IRkernel::main()", "--args", "{connection_file}"]
}

But if I try to replace R with sparkR to make Spark initialise, it fails with:

Fatal error: you must specify '--save', '--no-save' or '--vanilla'.

Passing env var “SPARKR_SUBMIT_ARGS”: “–no-save” did not help also. Does anyone know how to do it properly?

本文标签: Jupyter kernel for RSparkStack Overflow