TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

142 pointsby breckuhover 6 years ago

13 comments

klmrover 6 years ago
The article claims that<p>&gt; <i>R Notebooks can only be created and edited in RStudio</i><p>Luckily, this is <i>wrong</i>. Since R Notebooks are simply R Markdown, they can be edited with <i>any</i> editor (although the integration is obviously lost). This is, in fact, one of its decisive advantages over Jupyter Notebooks: most of the other issues mentioned in the article are solvable, whereas this issue fundamentally isn’t.
评论 #18345935 未加载
评论 #18345660 未加载
评论 #18345147 未加载
laichzeit0over 6 years ago
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.<p>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 cell execution, adding new cells, etc. Call it “Jupyter mode”.
评论 #18344596 未加载
评论 #18343950 未加载
评论 #18348174 未加载
closedover 6 years ago
RE python in Rmarkdown being limited...<p>&gt; The Python session ends after the cell executes, making it unhelpful for tasks other than ad hoc scripts.<p>This isn&#x27;t the case anymore thanks to the reticulate library.<p><a href="https:&#x2F;&#x2F;blog.rstudio.com&#x2F;2018&#x2F;03&#x2F;26&#x2F;reticulate-r-interface-to-python&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.rstudio.com&#x2F;2018&#x2F;03&#x2F;26&#x2F;reticulate-r-interface-t...</a>
评论 #18343910 未加载
评论 #18345953 未加载
评论 #18345864 未加载
peatmossover 6 years ago
R notebooks behave similarly to org-mode, albeit with fewer supported languages and a few less options for controlling execution and value passing between code blocks. Org-mode is the oldest and most powerful environment of this sort that I know of.<p>That said, for new users, I think R Notebooks are less daunting than Emacs + org-mode.<p>Like most things associated with RStudio and the Tidyverse, I feel that they’ve really done their homework. Even if org-mode does more, I feel it’s pretty evident that R Notebooks at least made an effort to understand org-mode’s prior art.
评论 #18344583 未加载
radmuzomover 6 years ago
A really good article on notebooks is the blog post by Yihui Xie - <a href="https:&#x2F;&#x2F;yihui.name&#x2F;en&#x2F;2018&#x2F;09&#x2F;notebook-war&#x2F;" rel="nofollow">https:&#x2F;&#x2F;yihui.name&#x2F;en&#x2F;2018&#x2F;09&#x2F;notebook-war&#x2F;</a>.
usgroupover 6 years ago
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.<p>Previously used R notebooks exclusively for all the benefits author mentioned.
评论 #18343965 未加载
SEJeffover 6 years ago
Primary disadvantage of using R Notebooks Instead of Jupyter Notebooks: Writing R instead of numpy &#x2F; pandas python.
评论 #18346379 未加载
评论 #18346166 未加载
okketover 6 years ago
Previous discussion from a year ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14522795" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14522795</a> (70 comments)
Myrmornisover 6 years ago
Does anyone know why the ipython developers rejected solutions in which version control diffs were readable?
jabbleover 6 years ago
<a href="https:&#x2F;&#x2F;atom.io&#x2F;packages&#x2F;hydrogen" rel="nofollow">https:&#x2F;&#x2F;atom.io&#x2F;packages&#x2F;hydrogen</a> + git is a decent way to get jupyter interactivity and an easy to apply version control on a plain python file
gaiusover 6 years ago
Working in RMarkdown it is super-easy to generate a publishable document from your research. Whereas there is still no good Jupyter—&gt;PDF solution.
评论 #18343831 未加载
评论 #18345746 未加载
stephengillieover 6 years ago
Bit of a typo in the title. Original: <i>Advantages of Using R Notebooks For</i> Data Analysis <i>Instead of Jupyter Notebooks</i>
scoot_718over 6 years ago
* You get enjoy a language with incompatible interfaces for every single data structure.<p>* Write-only language ensures your ideas are difficult to steal
评论 #18347172 未加载
评论 #18343905 未加载
评论 #18343827 未加载