View source: R/convert_ipynb_to_blogdown.R
Creates an Rmd file from a Jupyter Notebook
1 2 3 4 5 6 7 8 9 | Rmd_from_ipynb(
ipynb_file,
chunk_options = "",
python_path = reticulate::py_config()$python,
open = interactive(),
title = "",
author = "",
date = Sys.Date()
)
|
ipynb_file |
path to the jupyter notebook |
chunk_options |
global chunk options as charachter vector. Passes options to kitr::opts_chunk$set(). Defaults to "" |
python_path |
python path as string for reticulate. Defaults to the one
detected by |
open |
whether to open the generated file after creation |
title |
title of the markdown as string. Defaults to "" |
author |
author as string. Defaults to "" |
date |
day of creation as string. Defaults to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.