nbstata
nbstata copied to clipboard
Stata 18.5/Now/19 support
"StataNow" adds some additional options to pystata: https://www.stata.com/python/pystata18/config.html
In particular, set_command_show supersedes the no-command-echo functionality which accounts for the bulk of nbstata's code. This enhancement should make no-echo nbstata more reliable and also a bit faster. My plan is for nbstata to use this new functionality when available (pystata version 0.1.2) but replace it with nbstata's built-in no-echo support otherwise. (But nbstata's built-in custom support should probably now be labeled deprecated.)
Hopefully we'll also be able to find a way to use the new autocomplete support within an nbstata kernel, as well as the new %help magic.
I don't currently have access to StataNow, though, and I'm unsure when I will get it, so I won't be able to work on this myself for a while.
I have just installed StataNow/Stata 18.5 and tested this feature. In this newest version, the effect of the echo option in pystata.stata.run() has changed: in previous versions, echo only affects command display when executing a single line of Stata code, while in the newest version, it affects all code blocks. In other words, there is no longer a distinction between single-line and multi-line code blocks.
set_command_show simply provides a way for the effect to be persistent.
Thanks. I really appreciate you letting me know.