This is the workhorse function called by
timeit, and is primarily meant to be called
through timeit. However, if you desire a
more direct wrapper to Rprof then this can be
useful.
integer; by default NULL,
which indicates we should 'guess' an appropriate number
of replications. in order to more accurately profile
quickly-running functions, we run the call
replications times, and then infer the run-time as
<time>/replications. by default, the argument is
NULL and we attempt to infer an appropriate number
of replications.
memory.profiling
logical. include memory use in
output?
show.warnings
boolean. output a warning if any
iteration of the run did not produce results?
i
integer. the iteration number. primarily for use
from timeit.
gcFirst
boolean. run the garbage collector before
any evaluation of the function call?
gcDuring
boolean. run the garbage collector before
each iteration, as produced by replications? (very
slow)