You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing your program. I have combined your ipystata program with stata17mp and it works perfectly. There is a bug that the system automatically saves the image to .ipython/stata after each drawing, and every time I re-call %%stata to execute the command, this saved image will be automatically displayed in the jupyter notebook, although I Executing stata commands has nothing to do with plotting. Can you fix this?
The text was updated successfully, but these errors were encountered:
There is also another bug. In the cell where the magic command %%stata is located, according to the stata specification, when I apply "//" to annotate the stata command, the cell will jump out the "gbk codec can't decode..." error, and After jumping out of this error, it will jump out the same error when executing any %%stata magic command in the future, just like getting an infectious disease. In this case, I have to reinstall ipystata.
With regards to the first issue, I don't see that behavior on my end, would you mind sharing an example notebook that illustrates the problem so that I can replicate it?
Regarding your second issue, unfortunately, Stata does not allow all types of commenting when running code interactively. If you want to add a comment you should use * not //. This is a limitation of Stata:
Thanks for sharing your program. I have combined your ipystata program with stata17mp and it works perfectly. There is a bug that the system automatically saves the image to .ipython/stata after each drawing, and every time I re-call %%stata to execute the command, this saved image will be automatically displayed in the jupyter notebook, although I Executing stata commands has nothing to do with plotting. Can you fix this?
The text was updated successfully, but these errors were encountered: