Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.12 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.12 KB

jupytextR

R-CMD-check Codecov test coverage Lifecycle: experimental

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