trace {base} | R Documentation |
These are both in very primitive form.
If trace
is called the function named is marked and each time it
is entered the call is printed on the console.
To stop tracing a function use untrace
.
trace(fun)
untrace(fun)
fun |
any interpreted R function (not quoted). |
debug
.
trace(names)
data.frame(x=1:2, y=3:4)
untrace(names)