Learn R Programming

notebookutils (version 1.5.3)

notebookutils.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

notebookutils.notebook.run(path, timeoutSeconds = 90, arguments = NULL)

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.

Examples

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

Run the code above in your browser using DataLab