as_notebook {AnVILPublish} | R Documentation |
as_notebook()
renders .Rmd vignettes as .ipynb
notebooks, and updates the notebooks in an AnVIL workspace.
as_notebook(rmd_paths, namespace, name, update = FALSE)
rmd_paths |
|
namespace |
|
name |
|
update |
|
.Rmd
Vignettes are processed to .md
using
rmarkdown::render(..., md_document())
, and then translated to
.ipynb
using python software called notedown
; notedown is
available at https://github.com/aaren/notedown.
The translation is not perfect, for instance code chunks marked as `eval = FALSE` are not marked as such in the python notebook.
as_notebook()
returns the paths to the local (if update = FALSE
) or the workspace notebooks.