time: An alternative to 'system.time' that prints the times to the...

Description Usage Arguments Examples

Description

This process time utility can be wrapped around any normal function with no effect other than printing the process time to the screen. This allows visual feedback on timing without otherwise interrupting the operation of the function.

Usage

1
time(fun)

Arguments

fun

the function to evaluate

...

all other arguments to be passed to fun

Examples

1
2
results<-time (vectorize(sum))(rep.int(x=5,times=1000000))
results

cvarrichio/hordr documentation built on May 14, 2019, 12:53 p.m.