Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would be wonderful if we could re-use the notebook interface for other language - Octave, Julia, R, Ruby.

(Would also be nice if building ipython on OS X was easier!)



AS I reply to another comment it is possible and on it's way.

for ruby cf https://github.com/ipython/ipython/pull/2643

and Julia https://github.com/JuliaLang/julia/issues/1330


(Would also be nice if building ipython on OS X was easier!)

What issue do you face? Genuinely curious, because I use Mountain Lion, and installing IPython for me simply involves doing

    pip install ipython
I installed Python from source though.


Thanks. It mostly worked. Of course, the real benefit of ipython is the notebook. For that you need (on OS X)

    brew install python   # or just download and install from source
    pip install numpy
    pip install matplotlib
    pip install ipython[zmq,qtconsole,notebook,test]
Actually, for qtconsole you need to install Qt and pip install pyside

But the latter failed to build on my machine... (Given that Apple's gcc version is ancient and clang is the default compiler on OS X -- it's a wonder the other tools were built correctly)


One of the many features of Org-mode in Emacs is that it functions in a similar-style to IPython's notebook for over twenty different languages, Octave, R, Ruby, Python, C, C++ and others: http://orgmode.org/worg/org-contrib/babel/languages.html

The related features in Org-mode are known as Org-babel, uniting disparate languages under the single umbrella of Org-mode. The support for language evaluation in Org-mode is slightly more cumbersome than that offered in IPython, but also arguably more flexible and powerful. Plus you get to edit your notebook in a powerful editor with best outliner ever, plus all of Org-mode's many other features (I'm a Vim person but I give credit where credit is due).

Org-babel is a rich and deep niche of Org-mode, and one of the areas under the most constant development. You can read some docs on it here, but it can be hard to wrap your head around all of it until you actually use it:

http://orgmode.org/manual/Working-With-Source-Code.html#Work...


Sage Notebook interface can be used for Python, R, Octave, Matlab, Mathematica, LaTeX among others. http://www.sagenb.org


Rmagic and octave magic work pretty well in my experience (which rely on Rpy2 and oct2py)


If I'm recalling Fernando's talk from PyConCA correctly, recent versions of IPython are already designed to support other languages: they talk to a python kernel over a wire protocol, instead of directly embedding the interpreter.


A critical component of the grant application was the proposal to make the notebooks extensible, with concrete plans to work on integrating R, and a strong desire to integrate with Julia.


SciPy Superpack easily installs iPython, SciPy, NumPy, Matplotlib, and others on OSX.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: