3 ms·
true but the languages are siloed, each notebook runs just one language. with beaker the languages can communicate with each other. there's no easier way to
by spot 10y ago
true but the languages are siloed, each notebook runs just one language. with beaker the languages can communicate with each other. there's no easier way to combine python and javascript for d3, for example: https://pub.beakernotebook.com/publications/7fdcaaa6-fb83-11e5-9212-0797fdc961bc?fullscreen=true https://pub.beakernotebook.com/publications/7fdcaaa6-fb83-11...
there are lot more differences in the UI as well.
- nl 10y agoYou can actually use R and Python in the same notebook. See https://blog.dominodatalab.com/lesser-known-ways-of-using-notebooks/ https://blog.dominodatalab.com/lesser-known-ways-of-using-no... The %Rpush and %Rpull magics are what you need. Also, if you are using Spark, then Apache Toree[1] lets you use Python, R, Scala and SQL in the same notebook against Spark[2]. [1] https://toree.incubator.apache.org/documentation/user/how-it-works.html https://toree.incubator.apache.org/documentation/user/how-it... [2] https://github.com/ibm-et/spark-kernel/wiki/Language-Support-on-the-Spark-Kernel https://github.com/ibm-et/spark-kernel/wiki/Language-Support...
- denfromufa 10y agoNot everyone needs more than one language in the same notebook communicating between each other. But if required, then the cell magic system looks superior to me: have a look at %%fortran, %%cython, %%javascript, %%html, %%bash options. Also it is possible to switch kernels in the same notebook, but serialization of state between kernels is handled by user.
- spot 10y agowhat is superior about %%javascript? here are some examples of JS working in beaker (in addition to the above python/JS demo): https://pub.beakernotebook.com/publications/87a444cc-fb85-11e5-9870-6f83c54cb849?fullscreen=true https://pub.beakernotebook.com/publications/87a444cc-fb85-11... https://pub.beakernotebook.com/publications/797f99f2-fccd-11e5-bbc8-578792777361?fullscreen=true https://pub.beakernotebook.com/publications/797f99f2-fccd-11... https://pub.beakernotebook.com/publications/afa0f71c-4aaf-11e6-b821-db4e457c4d14 https://pub.beakernotebook.com/publications/afa0f71c-4aaf-11...
- jonathanpoulter 10y agoCell magics just seem like one possible method of choosing which language to use, a menu such as what beaker uses seems alright too. I was setting up cling (the C++ kernel) today and I gave up at realising that the interpreter is spun up in a subprocess, rather than a kernel persisted across cells. Without cross cell support, mixing languages is a limited feature of jupyter.