Rmd_from_ipynb: Creates an Rmd file from a Jupyter Notebook

Description Usage Arguments

View source: R/convert_ipynb_to_blogdown.R

Description

Creates an Rmd file from a Jupyter Notebook

Usage

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()
)

Arguments

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 reticulate::py_config()

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 Sys.Date()


corriebar/corrieaaR documentation built on Feb. 18, 2020, 9:33 a.m.