跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 计算

arXiv:2002.07472 (stat)
[提交于 2020年2月18日 (v1),最后修订于 2020年2月24日 (此版本, v2)]

标题:A method for deriving information from running R code

作者:Mark P. J. van der Loo
查看论文《A method for deriving information from running R code》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:It is often useful to tap information from a running R script. Obvious use cases include monitoring the consumption of resources (time, memory) and logging. Perhaps less obvious cases include tracking changes in R objects orcollecting output of unit tests. In this paper we demonstrate an approach that abstracts collection and processing of such secondary information from the running R script. Our approach is based on a combination of three elements. The first element is to build a customized way to evaluate code. The second is labeled \emph{local masking} and it involves temporarily masking auser-facing function so an alternative version of it is called. The third element we label \emph{local side effect}. This refers to the fact that the masking function exports information to the secondary information flow without altering a global state. The result is a method for building systems in pure R that lets users create and control secondary flows of information with minimal impact on their workflow, and no global side effects.
评论: 11 pages, 1 figure. Accepted for publication by the R Journal (2020-02-20)
主题: 计算 (stat.CO); 程序设计语言 (cs.PL)
引用方式: arXiv:2002.07472 [stat.CO]
  (或者 arXiv:2002.07472v2 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.07472

提交历史

来自:Mark van der Loo
[v1] 2020年2月18日 星期二 10:23:59 UTC
[v2] 2020年2月24日 星期一 15:32:24 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-02
切换浏览方式为:
stat
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站