View source: R/sys_time_print.R
| sys_time_print | R Documentation | 
Convenient printing of time elapsed. A wrapper of
data.table::timetaken, but showing the results more directly.
sys_time_print(expr)
| expr | Valid R expression to be timed. | 
A character vector of the form HH:MM:SS, or SS.MMMsec if under 60 seconds. See examples.
timetaken, system.time
sys_time_print(Sys.sleep(1))
a = as.data.table(iris)
sys_time_print({
  res = a %>%
    mutate(one = 1)
})
res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.