powered by
Convenient printing of time elapsed. A wrapper of data.table::timetaken, but showing the results more directly.
data.table::timetaken
sys_time_print(expr)
A character vector of the form HH:MM:SS, or SS.MMMsec if under 60 seconds. See examples.
Valid R expression to be timed.
timetaken, system.time
timetaken
system.time
sys_time_print(Sys.sleep(1)) a = as.data.table(iris) sys_time_print({ res = a %>% mutate(one = 1) }) res
Run the code above in your browser using DataLab