📄 mata_stata.hlp
字号:
{smcl}
{* 18mar2005}{...}
{cmd:help mata stata}
{hline}
{* index mata tt}{...}
{* index stata tt}{...}
{* index Stata, execute command}{...}
{title:Title}
{p 4 4 2}
{bf:[M-3] mata stata -- Execute Stata command}
{title:Syntax}
{p 8 16 2}
: {cmd:mata} {cmd:stata} {it:stata_command}
{p 4 4 2}
This command is for use in Mata mode following Mata's colon prompt.
{title:Description}
{p 4 4 2}
{cmd:mata stata} {it:stata_command}
passes {it:stata_command} to Stata for execution.
{title:Remarks}
{p 4 4 2}
{cmd:mata} {cmd:stata} is a convenience tool to keep you from having to
exit Mata:
: {cmd:st_view(V=., 1\5, ("mpg", "weight"))}
{error:no variables defined}
{error:st_view(): 3500 invalid Stata variable name}
{error: <istmt>: - function returned error}
r(3500);
: {cmd:mata stata sysuse auto}
(1978 Automobile Data)
: {cmd:st_view(V=., 1\5, ("mpg", "weight"))}
{p 4 4 2}
{cmd:mata stata} is for interactive use. If you wish to execute a Stata
command from a function, see
{bf:{help mf_stata:[M-5] stata()}}.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-3] mata stata}
{p 4 13 2}
Online: help for
{bf:{help mf_stata:[M-5] stata()}};
{bf:{help m3_intro:[M-3] intro}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -