abalter
abalter

Reputation: 10383

R-markdown .Rmd or knitr markdown in Jupyter

Is there a way to use .Rmd files directly in Jupyter? In other words, is there a way to get jupyter to render a file like this: https://github.com/yihui/knitr-examples/blob/master/023-engine-python.Rmd?

I love jupyter, but also like the simplicity of the .Rmd syntax.

Upvotes: 5

Views: 3971

Answers (2)

Gregor Sturm
Gregor Sturm

Reputation: 2910

I created a fork of ipymd which allows to open .Rmd files directly in jupyter notebook.

As opposed to plain markdown, it also supports storing images in a separate .nb.html file.

Upvotes: 1

cco
cco

Reputation: 6281

You could use ipymd, which enables saving notebooks as Markdown documents instead of in Jupyter Notebook format. I don't know enough about knitr to say if there is feature-by-feature compatibility, but it seems like a good start.

Notedown is another possibility.

Upvotes: 3

Related Questions