Description Usage Arguments Value Author(s) Examples
Capture the System Call For Functions That Don't Already Do So
1 | with_callAttr(expr, f)
|
expr |
An expression to evaluate and capture as a call. |
f |
The frame number, specified as an integer. Passed directly to |
The expected output of expr
with an attribute named 'call', accessible with attr(expr, 'call')
.
Jon Katz
1 2 | test.expr <- with_callAttr(cbind(x=1:4, y=rnorm(4)), 0)
attr(test.expr,'call')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.