📄 _r2e.ado
字号:
*! version 1.0.1 03jan2005
program _r2e, eclass
version 9
syntax [, ///
XMACros(namelist) ///
XSCAlars(namelist) ///
XMATrices(namelist) ///
]
// This routine assumed that e() is ready to have things added to it,
// meaning that -ereturn post- has already been called.
// save the macros
local macros : r(macros)
local macros : list macros - xmacros
foreach name of local macros {
ereturn local `name' `"`r(`name')'"'
}
// save the scalars
local scalars : r(scalars)
local scalars : list scalars - xscalars
foreach name of local scalars {
ereturn scalar `name' = r(`name')
}
// save the matrices
local bV b V // never allow mis-post of e(b) e(V)
local matrices : r(matrices)
local matrices : list matrices - xmatrices
local matrices : list matrices - bV
tempname mat
foreach name of local matrices {
matrix `mat' = r(`name')
ereturn matrix `name' `mat'
}
ClearR
end
program ClearR, rclass
return clear
end
exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -