Re:Jupyter Receives the ACM Software System Award
by po84 on Wednesday May 02, 2018 @01:55PM
(#16979511)
If I understand you correctly, a combination of http://ipython.readthedocs.io/en/stable/interactive/magics.h... and http://nbconvert.readthedocs.io/en/latest/execute_api.html might get you there. Post if you build something like this!
Re:Jupyter Receives the ACM Software System Award
by chubot on Wednesday May 02, 2018 @01:21PM
(#16979111)
BTW I'm pretty sure that this is exactly what Sweave is. You write in a text editor, and then invoke a batch process to generate an HTML file with mixed code and data.
Wikipedia says it does incremental rebuilding, which was news to me. I've never used it, but I know a lot of R users who use it.
I would write the notebook in my text editor (not in a web form) execute "reload" in the repl, execute the cells that have been changed and render the webpage. The output should be a complete self contained html file with everything else embeded and of course not a single line of javascript.