Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
41–50 of 51 posts
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#42RE 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 isn't native to R Studio yet (it's in the insider build), but will be interesting to see what happens with adoption then.
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#43Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#44Primary disadvantage of using R Notebooks Instead of Jupyter Notebooks: Writing R instead of numpy / pandas python.
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#45Earlier quoted context omitted.
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.
What would be the equivalent package for Julia?
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#46Primary disadvantage of using R Notebooks Instead of Jupyter Notebooks: Writing R instead of numpy / pandas python.
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#47* You get enjoy a language with incompatible interfaces for every single data structure. * Write-only language ensures your ideas are difficult to steal
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#48Earlier quoted context omitted.
It would help if you said explicitly what language you think is better in this respect. Having Data Frames in Python at all requires importing Pandas afaik, so criticizing R for requiring an extra data-manipulation package wouldn't make sense from a Python perspective.
The point is not that you have to import a package, but whether by default package layouts and interop make sense. Notably, python scientific libraries build on a set of common foundations and apis (numpy, pandas etc). Additions to the ecosystem aim to build on familiar apis irrespective of implementation details (e.g dask). Python’s heavy use of namespaces makes organising a working environment simple, while it’s fo…
This is just plain wrong.
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#49It’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…
Re: Advantages of Using R Notebooks Instead of Jupyter Notebooks (2017)
#50It’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…
Hi, Which plugin do you use for Vim binding in Jupyter?