5 ms·
For those who use R, I strongly recommend looking into R Notebooks (http://rmarkdown.rstudio.com/r_notebooks.html http://rmarkdown.rstudio.com/r_notebooks.html)
by minimaxir 10y ago
For those who use R, I strongly recommend looking into R Notebooks (http://rmarkdown.rstudio.com/r_notebooks.html http://rmarkdown.rstudio.com/r_notebooks.html), as there is a lot more versatility involved, especially over the Jupyter/IRKernel approach. Although it's R only, unfortunately (you can run Python code in it but not the way you expect)
I'd like to see some things ported into Jupyter from R Notebooks, like JavaScript data tables and the separation of code and output, making it easy to version control only the code. (Atleast this 5.0 release makes tables nonugly)
- carreau 10y agoIt would be great to sit with the Rstudio-notebooks developers and user and discuss how we could get the two platform to converge and be more interoperable. I guess both team have a lot on their plate, and we would need more manpower, but understanding and collaborating with other project for the good of user is always something the Jupyter team is happy to do.
- imcoconut 10y agoThe jupyter team has been working on jupyter lab which is a more r studio style environment. It incorperates notebooks, terminals, file editing, traditional ipython console, plus some other cool stuff in a web ide. You should be able to use an R jupyter kernel with it. It's in alpha right now but they're making crazy fast progress on it. I've been using it and it's awesome
- carreau 10y agoYes I know I'm one of the Jupyter dev :-) there is still a difference in notebook format and protocols. In that sens JupyterLab is not more compatible with Rstudio than the normal notebook.
- imcoconut 10y agoLol, sorry - well hopefully someone else reading this thread can find out about jupyter lab. it really is amazing. Thanks so much for all your hard work!
- nerdponx 10y agoDidn't Yhat already try this with Rodeo?
- cercatrova 10y agoSomething like Beaker? (www.beakernotebook.com)
- karthik_ram 10y agoI'm happy to connect you anytime! Just come by the west wing of the office. :)
- robbles 10y agoWhat 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...
- jacquesm 10y agoDoes it work in the same client-server fashion? (With Jupyter you can run the notebook on a server or the head machine of a cluster and then access the notebook remotely from your laptop or desktop.)
- minimaxir 10y agoNo. All local, although you could set up an Rstudio Server in theory and run the Notebook there, although I have less experience with that. There are R packages which allow communicating with a server, mostly big data packages. (sparklyr allows you to connect to a remote Spark cluster)
- dandermotj 10y agoIt's very easy to set up an RStudio server. I used to run one on Azure. Took minutes to set up and you get the whole RStudio suite, including R notebooks.
- scottkuo 10y agoHow about both? https://notebooks.azure.com/ https://notebooks.azure.com/
- jimmcslim 10y agoIt would be great if Microsoft would open up a bit about what their plans are for this service, to the extent that it could be something I can rely on in a commercial context.
- smortaz 10y agoHi, fair question. Lots of people are using the service in edu as well as commercial contexts. We haven't put any restrictions in that regard on it. Other than that the plan is to keep this (or something similar) running as long as there is sufficient interest and so far there seems to be quite a bit! Note that it does run on docker which means ultimately it's not fully "secure", but we hope to switch to hyperv-linux when it's available. [smortaz at msft]
- andendau 10y agoI hope you all can style the notebook to look as good as the way kaggle does their version. I understand if you leave it alone too.
- WeDontNeedH1Bs 10y agoMyself and all the Data Scientists I know use Python, while the Data Analysts in my company use R. Does R have anything like the Natural Language Tool Kit that Python has? Or SpaCy for fast NLP? Also, between PYKE, ProbLOG, and python-constraint, a lot of my logic programming needs are satisfied in Python. Does R have anything like that for logic programming?
- minimaxir 10y agoNot as effectively. Which is why I use R for tabular data and Python for text/image/nontabular data. And there's nothing wrong with knowing and using both languages.
- WeDontNeedH1Bs 10y agoI think that makes sense and is why our Data Analysts use R.
- rocho 10y agoJust the other day I discovered that there exist a kernel (SOS kernel) that allows to use Python and R simultaneously in the same notebook (on a per-cell basis) and even has primitives for data exchange between the two. I'm definitely using this for my next project.
- a_bonobo 10y agoYou can also use R inside 'normal' Python notebooks via rpy2: from rpy2 import robjects my_dictionary_results = some_method() names_dict = robjects.ListVector(my_dictionary_results) %load_ext rpy2.ipython %R library(some_lib) %R -i my_dictionary_results doStuff(my_dictionary_results) Image display etc. works fine
- isolli 10y agoIn a similar vein: Beaker notebooks (http://beakernotebook.com/ http://beakernotebook.com/)