Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodetect path of Stata binary #14

Open
sergiocorreia opened this issue Jul 29, 2016 · 3 comments
Open

Autodetect path of Stata binary #14

sergiocorreia opened this issue Jul 29, 2016 · 3 comments

Comments

@sergiocorreia
Copy link

There are ways to get the location of the stata binary by calling the winreg package and looking for some keys. There is an example here for instance:

https://github.com/sergiocorreia/StataEditor/blob/master/StataEditorPlugin.py#L507

It's not perfect but it works quite well for Stata 12-14

@TiesdeKok
Copy link
Owner

Thanks, that is a great suggestion. I was already playing with the idea of including the ability to automatically register a Stata installation for a given path, combining this with that snippet would essentially automate most of the configuration process. I will put it on my to-do list.

@kylebarron
Copy link

@kylebarron
Copy link

The StataEditor function seemed old and didn't work on my Windows 10 VM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants