美文网首页
Stata--log文档

Stata--log文档

作者: 古城路揸fit人 | 来源:发表于2022-08-20 13:20 被阅读0次

log文档是记录程序及其运行的文档,它将所有在结果窗口出现的程序和结果输出到log文档(默认是scml格式,Stata特定的文件格式;也可以输出为txt,在log using时修改后缀名)。从log using 到 log close中间所有的程序及其运行结果都会被记录到log文件中。

global output "xxx" //define the output direction to store log files
log using $output\\mylog,replace  //open a log file (default format is smcl) to record codes and results
.
. 
.
log close //close the log file and save the log file

global output "xxx" //define the output direction to store log file
log using $output\\mylog,append  //append the codes and results to the origin log file mylog (default format is smcl)
.
.
.
log close //close the log file and save the log file

相关文章

  • Stata--log文档

    log文档是记录程序及其运行的文档,它将所有在结果窗口出现的程序和结果输出到log文档(默认是scml格式,Sta...

  • stata--log文件

    log文件主要是用来记录stata结果窗口的操作 主要记录的东西有下面两项 运行了什么命令 获得什么结果

  • 2019-04-26

    测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测试文档测...

  • Elasticsearch(ES)文档的CRUD

    新增文档(不指定文档ID) 新增文档(指定文档ID) 通过文档ID获取文档 通过文档ID更新文档 通过文档ID删除...

  • elasticsearch cat api

    健康: 文档 count: 文档 索引:文档 节点:文档 cluster:文档 分片:文档(需要注意state字段)

  • 2020-09-22

    互联网/软件全套文档、产品文档、技术文档、测试文档、运维文档、项目文档 前言简约文档可提高团队沟通效率;详细文档体...

  • Elasticsearch 7.x 入门之restful请求(2

    使用restful操作 创建文档新建文档.png 查看文档文档信息.png 删除文档文档删除.png 新建文档自动...

  • Shape/GradientLayer

    参考文档1参考文档2参考文档3参考文档4参考文档5参考文档6 CAShapeLayer CAShapeLayer ...

  • 文档结构

    项目文档结构 UI文档结构 通用组件文档结构 业务组件文档结构 store文档结构

  • Masonry

    参考文档0参考文档1参考文档2参考文档3参考文档4参考文档5参考文档6 Maonry 代码约束使用比较简单,是对系...

网友评论

      本文标题:Stata--log文档

      本文链接:https://www.haomeiwen.com/subject/siyvgrtx.html