Stata 15 help for run

[R] do -- Execute commands from a file

Syntax

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

Menu

File > Do...

Description

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.

Option

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