I want to use scala with jupyter notebook, the same way we use IJulia.
One solution that I found was by cloning https://github.com/alexarchambault/jupyter-scala
Is there any other way out ?
The Jupyter documentation links to IPython kernels for other languages
It appears to be a comprehensive list.
Related
I want to know how I could run Jupyter Notebook in VS Code with Julia as Interpreter?
I wanted to use a variable inspector/ explorer from this package but I cant get it to work.
Is there an even simple way to implement them? Like with Python?
In Short like here?
https://code.visualstudio.com/docs/python/jupyter-support
As of November 11th, 2020, the Jupyter Notebook extension in VSCode now supports Julia out of the box. Find out more here.
I'm experienced with IPython Notebook but just upgraded to Jupyter 4 with nbpresent, and I want to use reveal.js for slideshows.
How can I incorporate reveal.js into my notebook slideshow?
The most common way to do this is using nbconvert:
jupyter nbconvert presentation.ipynb --to slides --post serve
For more information, see nbconvert documentation.
You would only use RISE if you need to execute commands on the kernel during the presentation.
I installed spark using instructions provided at https://courses.edx.org/courses/BerkeleyX/CS100.1x/1T2015/courseware/d1f293d0cb53466dbb5c0cd81f55b45b/920d3370060540c8b21d56f05c64bdda/
This lets me run jupyter ipython notebook which provides a pyspark interface on localhost browser. But I wanted to learn more about Scala.
What could be the best way to run Scala using this vagrant based installation. Is there a way that I can run some sort of IDE with this vagrant config. The best would be if I am able to use some notebook like interface to Scala.
Thanks
You can run Scala from jupyter ipython notebook interface. Select New-Terminal. Then, type this command "spark-shell". Scala API window will open.
I hope that will help you
Is there an easy way to convert an ipython notebook to plain python without using ipython itself (i.e. not using ipython nbconvert --to=python ...)?
Background: I want to test if there is a syntax error in various ipython notebooks using travis-ci. However, installing ipython from source takes too long and the ubuntu packages are outdated.
I wrote a simple script that does the conversion. It's probably not fool-proof but works for me. I'd still be happy to hear about a better solution.
Link to script: https://gist.github.com/hannorein/8423ad75547f37bba228
I know there is the script magics in the ipython notebook for running code in other languages. See for example http://nbviewer.ipython.org/url/github.com/ipython/ipython/raw/master/examples/notebooks/Script%20Magics.ipynb.
And I know you can run Scala in script mode. See, for example http://www.scala-lang.org/old/node/166.
But I couldn't figure out if there was a way to get the ipython notebook to run scala code.
Second google answer for "Ipython scala" search yield IScala notebook announce.
OP has asked about running scala code in the ipython notebook, not if there's an ipython equivalent for scala. he is aware he can run it with magics as any other script.
a better answer, though still not what OP has asked, is a project for running scala in the similar fashion of notebooks in a web page https://github.com/Bridgewater/scala-notebook