# Generate test.rmd
$ ipynb2rmd test.ipynb
# Generate test.rmd and run R Markdown to render as pdf
$ ipynb2rmd test.ipynb --compile
# Compile an already existing rmd file
$ ipynb2rmd test.rmd --compile
To use rmarkdown chunk options in your Jupyter notebook, start a code cell with #r <chunk options>.
To install ipynb2rmd, simply:
$ pip install ipynb2rmd