A method for deriving information from running R code

02/18/2020
by   Mark P. J. van der Loo, et al.
0

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 local masking and it involves temporarily masking auser-facing function so an alternative version of it is called. The third element we label 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/18/2020

Managing multiple data streams in R

It is often useful to tap secondary information from a running R script....
research
06/04/2022

Evaluation of Xilinx Deep Learning Processing Unit under Neutron Irradiation

This paper studies the dependability of the Xilinx Deep-Learning Process...
research
10/09/2017

A Unified Approach on the Local Power of Panel Unit Root Tests

In this paper, a unified approach is proposed to derive the exact local ...
research
04/14/2018

On the Asymptotic Throughput of the k-th Best Secondary User Selection in Cognitive Radio Systems

We analyze the asymptotic average and effective throughputs of a multius...
research
09/14/2022

GES Model :Combining Pearson Correlation Coefficient Analysis with Multilayer Perceptron

With the development of technological progress, mining on asteroids is b...
research
12/04/2020

A Hierarchical Deep Actor-Critic Learning Method for Joint Distribution System State Estimation

Due to increasing penetration of volatile distributed photovoltaic (PV) ...

Please sign up or login with your details

Forgot password? Click here to reset