3 ms·
I'm pretty sure that it only exports the structure, but it doesn't allow editing and running of the code in ipython since that would require having support for
by terhechte 13y ago
I'm pretty sure that it only exports the structure, but it doesn't allow editing and running of the code in ipython since that would require having support for the plethora of languages.
Example:
There's a c extension to babel/org-mode that allows you to write a document like this in normal text, and then type:
+begin_src c
int test = 42;
printf("%i", test);
+end_src
and then run and execute this code block in the document, and have the results appear underneath it. That is already pretty cool.
But even cooler is that you can have a python block, and a R block and a ruby block, and then define a variable in python, and have ruby do something with that variable (i.e hand it over) and then create a new variable based on the ruby transformations, and hand it over to R to do some statistics processing with the data. Finally, You take the R output, display it as a table, and generate a plot for it.
All in one text file. Truly awesome.
- codemac 13y agoExactly. If we can find a way to use the "ipython kernel" with other languages to generate a generic notebook that can access multiple language runtimes, it'll be unstoppable (just as unstoppable as org-mode is)