Live data from Hacker News

Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

minimaxir.com

11–20 of 51 posts

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#13
post #12
post #8

Working in RMarkdown it is super-easy to generate a publishable document from your research. Whereas there is still no good Jupyter—>PDF solution.

What's wrong with nbconvert?

It’s fine if you just want to show something to someone who for whatever reason can’t run the notebook themselves, but it’s not up to producing a “formal” document. Maybe in a few years it might be.

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#14

* You get enjoy a language with incompatible interfaces for every single data structure. * Write-only language ensures your ideas are difficult to steal

Are you complaining about R or R Markdown? Because neither assertion is true for either language.

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#15
post #5

RE python in Rmarkdown being limited... > The Python session ends after the cell executes, making it unhelpful for tasks other than ad hoc scripts. This isn't the case anymore thanks to the reticulate library. https://blog.rstudio.com/2018/03/26/reticulate-r-interface-t...

Reticulate was a major improvement in the data science workflow. We now have full interoperability between R, Python, and Julia (or Scala if you're on Spark). The ability to mix languages is really valuable.

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#16

It’s just that RStudio’s vim support is so extremely bad, compared to VSCode or even the Jupyter Notebook vim plug-in. I guess this won’t bother you if you don’t have a developer background, but I find that editing code in RStudio is a real pain. I wish I could use RStudio with the exact same keybindings and vim behavior as Jupyter in the browser. That alone would make things bearable. Like the exact same keys for ce…

Also vim editing is restricted to editor window in the current session. So you can't paste from registers in console or in other RStudio sessions.

But its still much better experience to use RStudio markdown than Jupyter for me.

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#17
post #9

I’ve moved to Orgmode Babel for all my notebook needs. Work straight out of emacs, exports to many formats, literate programming, supports dozens of languages. Previously used R notebooks exclusively for all the benefits author mentioned.

https://github.com/gregsexton/ob-ipython is good

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#18

* You get enjoy a language with incompatible interfaces for every single data structure. * Write-only language ensures your ideas are difficult to steal

That sounds kind of ..uhmm.. incoherent. Care to elaborate?

If you’ve used both R and another, more reasonable language for any length of time, it’s perfectly coherent.

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#19
post #18

Earlier quoted context omitted.

That sounds kind of ..uhmm.. incoherent. Care to elaborate?

If you’ve used both R and another, more reasonable language for any length of time, it’s perfectly coherent.

In the Tidyverse everything in R is perfectly logical and coherent. What would you consider to be a “reasonable” language then?

Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)

#20
post #19
post #18

Earlier quoted context omitted.

If you’ve used both R and another, more reasonable language for any length of time, it’s perfectly coherent.

In the Tidyverse everything in R is perfectly logical and coherent. What would you consider to be a “reasonable” language then?

One where it was not necessary to specially create a ‘tidy’ version of everything to escape the horrific mess that exists by default
Post reply on HN