Dear list,
I noticed an annoyance in the IPython notebook (I mean Sage's Ipython notebook, not IPython ° %load_ext sage...). a line magic %maxima exists, but seems to open an interactiove contol woth Maxima, that one cannot exit of.
What I'd like to have is somthing close to the %%R cell magic offered by %rmagic (which, BTW, uses rpy2, which is not available directly) : the text of the cell is sent to R and the (last) answer is printed out.
I have created a first approximation of what I'd like to have in the attached IPython worksheet. Il scans a (multiline) text, splits it on semicolons, replaces all whitespace by a single space, sends it line by line to maxima and records the answers, which are in fine returned.
What do you think ?
HTH,
--
Emmanuel Charpentier