View source: R/save_notebook.R
save_notebook | R Documentation |
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.
save_notebook(nb_path, timeout = 10)
nb_path |
The path to the notebook |
timeout |
Number of seconds to wait for save |
A boolean indicating whether the file was saved successfully. If Jupyter is not running, this function returns TRUE.
## Not run:
save_notebook("foo.ipynb")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.