A combination of R, Python, and Stata

By use Jupyter Notebook, I can run Stata commands using:

import stata_setup
stata_setup.config('C:/Program Files/Stata17/','be')
%stata webuse auto
%stata describe

However, these codes do not produce any results by using RStudio IDE. Any comments are welcome.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.