📄 use.hlp
字号:
{smcl}
{* 07jan2005}{...}
{cmd:help use}{right:dialogs: {bf:{dialog use_dlg:use}} {dialog use_option:use with options}}
{hline}
{title:Title}
{p2colset 5 17 19 2}{...}
{p2col :{hi:[D] use} {hline 2}}Use Stata dataset{p_end}
{p2colreset}{...}
{title:Syntax}
{phang}
Load Stata-format dataset
{p 8 12 2}
{opt u:se}
{it:filename}
[{cmd:,}
{opt clear}
{opt nol:abel}]
{phang}
Load subset of Stata-format dataset
{p 8 12 2}
{opt u:se}
[{varlist}]
{ifin}
{helpb using}
{it:filename}
[{cmd:,}
{opt clear}
{opt nol:abel}]
{p 4 6 2}
Note that if your {it:filename} contains embedded spaces, remember to enclose
it in double quotes.
{title:Description}
{pstd}
{opt use} loads a Stata-format dataset previously saved by {opt save} into
memory. If {it:filename} is specified without an extension, {cmd:.dta} is
assumed.
{pstd}
In the second syntax for {opt use}, a subset of the data may be read.
{title:Options}
{phang}
{opt clear} specifies that it is okay to replace the data in memory,
even though the current data have not been saved to disk.
{phang}
{opt nolabel} prevents value labels in the saved data from being loaded.
It is unlikely that you will ever want to specify this option.
{title:Examples}
{phang}{cmd:. use myfile}{p_end}
{phang}{cmd:. use myfile, clear}{p_end}
{phang}{cmd:. use pid name age using myfile}{p_end}
{phang}{cmd:. use if sex=="male" using myfile}{p_end}
{phang}{cmd:. use using myfile if sex==male}{p_end}
{phang}{cmd:. use pid name age sex using myfile if sex==male}{p_end}
{title:Also see}
{psee}
Manual: {bf:[D] use}
{psee}
Online:
{helpb compress},
{helpb fdasave},
{helpb haver},
{help infile1},
{help infile2},
{helpb infix},
{helpb insheet},
{helpb odbc},
{helpb save},
{helpb sysuse},
{helpb webuse},
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -