Stata 15 help for run

[R] do -- Execute commands from a file


{do|run} filename [arguments] [, nostop]


File > Do...


do and run cause Stata to execute the commands stored in filename just as if they were entered from the keyboard. do echoes the commands as it executes them, whereas run is silent. If filename is specified without an extension, .do is assumed.


nostop allows the do-file to continue executing even if an error occurs. Normally, Stata stops executing the do-file when it detects an error (nonzero return code).

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index