Any variant of Jupyter can take different kernels for different chunks in a single notebook?

159 views
Skip to first unread message

Jun Xiong

unread,
Apr 27, 2017, 7:21:28 PM4/27/17
to Project Jupyter
Any variant of Jupyter can take different kernels for different chunks in a single notebook?

sp...@draves.org

unread,
Apr 27, 2017, 8:40:43 PM4/27/17
to jup...@googlegroups.com
The two multiplexing kernels that I know are "scripts of scripts": http://vatlab.github.io/SOS/#runningsos
and Min's "all the kernels": https://github.com/minrk/allthekernels

BeakerX (still in alpha) intends to have true polyglot kernel as well (https://github.com/twosigma/beakerx), but isn't there yet.
Its predecessor, Beaker Notebook (http://beakernotebook.com/) supports this well.

Best, -Scott


On Thu, Apr 27, 2017 at 7:21 PM, Jun Xiong <jun.xi...@gmail.com> wrote:
Any variant of Jupyter can take different kernels for different chunks in a single notebook?

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/eab7c4af-5678-4628-a4fe-3c2c1618a3c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Nicolas Riesco

unread,
Apr 28, 2017, 2:48:53 AM4/28/17
to Project Jupyter
Hydrogen can run multiple kernels for code blocks inside a markdown file.

See here: https://github.com/nteract/hydrogen/tree/636ccab71a996a0d571f09c5e803c290b9fb919e#multiple-kernels-inside-one-rich-document

Jun Xiong

unread,
Apr 28, 2017, 11:08:53 PM4/28/17
to jup...@googlegroups.com
Nick:

Thank you very much for your information.

Hydrogen looks very promising but didn't work on my Mac OSX el capitan,  anaconda-based jupyter. 

I followed the hydrogen documentation but didn't figure it out. I also leave create an issue on its github page.

Very appreciated if you can share your experience.

On Thu, Apr 27, 2017 at 11:48 PM, Nicolas Riesco <nicolas...@gmail.com> wrote:
Hydrogen can run multiple kernels for code blocks inside a markdown file.

See here: https://github.com/nteract/hydrogen/tree/636ccab71a996a0d571f09c5e803c290b9fb919e#multiple-kernels-inside-one-rich-document

--
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/m1tiZj6psZQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Jun Xiong, Ph.D.
U.S. Geological Survey
2255 North Gemini Drive, 
Flagstaff, AZ, USA.
Office: 928-556-7215

Denis Akhiyarov

unread,
Apr 28, 2017, 11:51:38 PM4/28/17
to Project Jupyter
Another option is Jupyter cell magic (%%) for external languages, when the kernel is IPython. This is available for R, Julia, Fortran, Cython, .NET, etc.

Still there is difference when the magic cell executes in subprocess (%%ruby) or by embedding the other language in Python (e.g. R).

Reply all
Reply to author
Forward
0 new messages