Learn R Programming

notebookutils (version 1.6.2)

mssparkutils.notebook.run: Runs a notebook and returns its exit value. The notebook will run in the current livy session context by default.

Description

Runs a notebook and returns its exit value. The notebook will run in the current livy session context by default.

Usage

mssparkutils.notebook.run(
  path,
  timeoutSeconds = 90,
  arguments = NULL,
  workspace = ""
)

Value

Empty string to mimic the exitVal set by mssparkutils.notebook.exit.

Arguments

path

absolute path to the notebook, e.g. /path/to/notebook.

timeoutSeconds

timeout in seconds for the called notebook.

arguments

string map of arguments to pass to the notebook.

workspace

Workspace of the notebook.

Examples

Run this code
mssparkutils.notebook.run('NB1')
mssparkutils.notebook.run('NB1', 200)
mssparkutils.notebook.run('NB1', 200, list("input"=30))

Run the code above in your browser using DataLab