Stata License #299
-
Hello, I would like to know how to add my Stata license to run code with the stata-mp runner from the project.yaml on my machine. It isn't described in the documentation yet (https://docs.opensafely.org/actions-scripts/). Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Hi Julian This isn't very well documented at the moment, but you can set an environment variable in your terminal, and then
However, there may be problems if your version of stata is not Thanks |
Beta Was this translation helpful? Give feedback.
-
Thanks all, I've updated the docs here |
Beta Was this translation helpful? Give feedback.
Hi Julian
This isn't very well documented at the moment, but you can set an environment variable in your terminal, and then
opensafely run
should then work fine with stata actions:export STATA_LICENSE="your license"
However, there may be problems if your version of stata is not
stata-mp
, as that's the version OpenSAFELY uses, and I think the license has to match the same version. It's all a bit awkward! If so, let me know, and we'll need to figure out a way to solve the issue.Thanks