Create a file: Difference between revisions
Content added Content deleted
Line 1,972: | Line 1,972: | ||
=={{header|Stata}}== |
=={{header|Stata}}== |
||
See the [https://www.stata.com/help.cgi?file file] command in Stata documentation. Note that Stata has other ways to store files: [https://www.stata.com/help.cgi?save save] to store a dataset in .dta format, or the various [https://www.stata.com/help.cgi?export export] commands to store a dataset as CSV, Excl, SAS [http://support.sas.com/techsup/technote/ts140.pdf XPORT 5] or [http://support.sas.com/techsup/technote/ts140_2.pdf XPORT 8] or dBase format. |
|||
<lang stata>file open f using output.txt, write replace |
<lang stata>file open f using output.txt, write replace |
||
file close f |
file close f |