save_notebook {ottr} | R Documentation |
Attempt to save the current notebook.
Description
Attempt to save the notebook by displaying Javascript if running on Jupyter. This function waits until the modification time of the file has changed or until the specified timeout expires.
Usage
save_notebook(nb_path, timeout = 10)
Arguments
nb_path |
The path to the notebook |
timeout |
Number of seconds to wait for save |
Value
A boolean indicating whether the file was saved successfully. If Jupyter is not running, this function returns TRUE.
Examples
## Not run:
save_notebook("foo.ipynb")
## End(Not run)
[Package ottr version 1.5.0 Index]