[
top
|
up
]
Trace all calls to a function.
Syntax
trace(fun) untrace(fun)
Arguments
fun
any interpreted R function (not quoted).
Description
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
.