question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you help pairing ipynb and R format using spin ?

See original GitHub issue

Hello @mwouts and thank you for jupytext it really looks amazing. From the docs I think I understand that not only can I sync ipynb and Rmd formats (I succeeded in doing that out of the box) but I should even be able to do ipynb and R given that running knitr::spin on a R file generates a Rmd I kinda can see the magic here.

Is my understanding correct ? Would you be kind enough to show me a minimal reproducible example for this ? Many thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
statquantcommented, Sep 5, 2020

Hello @mwouts indeed it now works perfectly. Many thanks for this that’s much appreciated.

1reaction
statquantcommented, Jun 14, 2020

Hello @mwouts sorry for my late answer. Thank you very much for your message, feel free to reopen. That’s much appreciated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - Jupytext documentation - Read the Docs
You can pair a notebook to as many text representations as you want (see our World ... sphinx (Python only), spin (R only)...
Read more >
jupytext - PyPI
The idea of paired notebooks is to store an .ipynb file alongside other formats. This lets us get the best of both worlds:...
Read more >
How can I convert a Rmd document to a jupyter notebook
write a simple R script, script.R , that you can spin into a Rmd document; use knitr::spin('script.R', knit = FALSE) to transform it...
Read more >
User-Guide - Jupyter integration - Ploomber documentation
Ploomber supports scripts and notebooks as source formats for tasks. We recommend using .py files, but you can use the traditional .ipynb format...
Read more >
How to use Jupyter Notebook Tutorial - DataCamp
Learn how to install, run, and use Jupyter Notebooks for data science, ... and; The best practices and tips that will help you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found