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

Pull and store info on Stata versions #3

Open
larsvilhuber opened this issue May 1, 2019 · 0 comments
Open

Pull and store info on Stata versions #3

larsvilhuber opened this issue May 1, 2019 · 0 comments

Comments

@larsvilhuber
Copy link

See https://gist.github.com/larsvilhuber/6bcf4ff820285a1f1b9cfff2c81ca02b for how to collect the information, which should then be added/appended/inserted into the YAML.

/* It will provide some info about how and when the program was run */
/* See https://www.stata.com/manuals13/pcreturn.pdf#pcreturn */
local variant = cond(c(MP),"MP",cond(c(SE),"SE",c(flavor)) )  
di "=== SYSTEM DIAGNOSTICS ==="
di "Stata version: `c(stata_version)'"
di "Updated as of: `c(born_date)'"
di "Variant:       `variant'"
di "Processors:    `c(processors)'"
di "OS:            `c(os)' `c(osdtl)'"
di "Machine type:  `c(machine_type)'"
di "=========================="

possibly add

c(max memory) 

but may not be reliable.

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

No branches or pull requests

1 participant