The goal of the jupytextR package is to provide an R wrapper for the jupytext Python library.
Installation
You can install the development version of jupytextR from GitHub with:
# install.packages("devtools")
devtools::install_github("milanmlft/jupytextR")
Example
This is a basic example which shows you how to solve a common problem:
library(jupytextR)
## Converting from Rmd to ipynb
jupytext("path/to/file.Rmd", to = "ipynb")
## Converting from ipynb to Rmd
jupytext("path/to/file.ipynb", to = "Rmd")