add_reticulate: Add a reticulate Cell

Description Usage Arguments

View source: R/convert_ipynb_to_blogdown.R

Description

This function adds a cell calling the reticulate library to the beginning of the markdown text.

Usage

1
2
3
4
5
add_reticulate(
  md_text,
  python_path = reticulate::py_config()$python,
  chunk_options = ""
)

Arguments

md_text

Markdown text as character string to which to attach the reticulate cell

python_path

python path as string for reticulate. Defaults to the one detected by reticulate::py_config()

chunk_options

string. Passes options to knitr::opts_chunk$set()


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