8 ms·
What does "a lot more versatility" mean? Just wondering what the advantages are. Or do you just mean that R Notebooks are specifically better than the R suppor
by robbles 10y ago
What does "a lot more versatility" mean? Just wondering what the advantages are.
Or do you just mean that R Notebooks are specifically better than the R support in Jupyter?
- minimaxir 10y agoIn addition to what I've already said, R Notebooks have native support for widgets, autogenerated TOC, and themes (although all of those can be added to Jupyter I believe). There's also the meta-support from being embedded in an IDE. (package management/variable explorer/etc) Here's an example of one of my notebooks with all 3 things: http://minimaxir.com/notebooks/breach-network/ http://minimaxir.com/notebooks/breach-network/ It's definitely a better fit for R.
- ciupicri 10y agoJupyter notebooks have widgets too, created with combination of Python and JavaScript.
- cgriswald 10y agoI believe you can also embed one inside an IDE. I am pretty sure you can do this with PyCharm.
- jonathanpoulter 10y agoSome widgets are pretty advanced, I saw a presentation by a developer from Bloomberg, in NYC, about their bqplot widget library. https://github.com/bloomberg/bqplot https://github.com/bloomberg/bqplot They even have gamepad/controller support, which allows dynamic interactions with widgets. Edit: Live demo of the project from PyData London 2016: https://youtu.be/eVET9IYgbao?t=27m45s https://youtu.be/eVET9IYgbao?t=27m45s
- skierscott 10y agoAnd this depends on ipywidgets (or at least similar - Syvian Corlayhas developed both). These widgets support embedding in other contexts like static HTML pages or Sphinx docs [1]. An example can be seen on the docs [2] [1]:http://ipywidgets.readthedocs.io/en/latest/embedding.html http://ipywidgets.readthedocs.io/en/latest/embedding.html [2]:http://ipywidgets.readthedocs.io/en/latest/examples/Widget%20List.html http://ipywidgets.readthedocs.io/en/latest/examples/Widget%2...
- halflings 10y agoThanks for the example! That definitely includes a bunch of things I think Jupyter should have, but "purists" might consider out of scope (theming, ToC, something as simple as being able to hide cells interactively). Currently, Jupyter works well for development, but the result is often hard to read because code gets in the way. (unless you use nbconvert, but that sometimes defeats the purpose)
- peatmoss 10y agoWell, for me the big one is that R Notebooks work cleanly with revision control systems like git. That said, both Jupyter and R Markdown Notebooks are but a pale shadow of the support offered by Org-mode (seriously!).
- taeric 10y agoI always feel guilty pointing out that org-mode can do this really well. :) Thanks for taking that hit! Know of any good resources that show this for folks that don't know what we are talking about?
- jacquesm 10y ago> That said, both Jupyter and R Markdown Notebooks are but a pale shadow of the support offered by Org-mode (seriously!). Yes, but the large number of excellent notebooks available for Jupyter (and R as well) all over the web as well as support for CUDA and all kinds of extremely powerful libraries such as tensorflow) give those a serious edge over Org-mode, even though Org-mode is super powerful by itself.
- dragandj 10y agoI run my Clojure + OpenCL + CUDA code from Org-mode without problems.
- jacquesm 10y agoOn a remote machine or on your local machine?
- taeric 10y agoEither. :) If you setup a source block, you can use TRAMP to actually execute the command in a source block on a remote machine. So: #+BEGIN_SRC sh :dir /user@remotemachine.com:~/remotedir ls #+END_SRC The above will run ls on "remotemachine.com" and put the results in an output block below it. Edit: Meant to add that you can do the same with docker. Just use "/docker:dockerId:" as the dir, and it will execute in a docker instance locally. Using multihop addresses, this can get extreme.