遇到命令问题,看命令logout帮助和相关的命令infix解释。其他人也是看的帮助的
help logout
----------------------------------------------------------------------------------------------
Title
logout -- Converts log or ASCII files into various output formats
Syntax
logout, [options : command]
Description
logout provides a fast and easy way to convert log or ASCII files into various output formats compatible with Word, Excel, LaTex, or Stata datafile. Can be used as a prefix or by itself after a log file has been created.
More specifically, logout will import plain-text files into tab-delimited format, which is then converted into the output format of choice. The default method is tab/space-delimited, along with a list of usual suspects. Alternatively, infix method can be used when the column position is meaningful.
Can also be used to chew through dirty files such as html, etc. Will also chew through any ASCII log files, including those produced SAS, SPSS, etc. In Stata, you can use caplog to create log files on the fly.
table and tabstat are automatically handled by fix method.
Command
Any command accepted, i.e. estimation commands, tabulation, summary, descrition, etc.
Options
+------+
----+ Main +----------------------------------------------------------------------------
clear Replace the current data in memory, then manipulate the file as a Stata data.
save( ) The name of output file. logout.txt is assigned if clear or temporary file is not used.
use( ) The name of input file to be converted.
raw Raw file is diplayed in the first column (up to 244 character limit).
fix Use automatic fixed method (i.e. infix) to read the file.
fix(#) Adjust the sensitivity of fix method. Default is 5. Try 1 for narrower parsings.
fixcut(# # ...) Use manual fixed method (i.e. infix) to read the file. Something like fixcut(3 5 10 15). Drop a number if you want to merge columns there. A suggestion is displayed whenever fixed method is run
auto( ) The number of automatically formatted decimals to be reported. Default is 3.
|