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)
pst(expr)
expr |
Valid R expression to be timed. |
A character vector of the form HH:MM:SS,
or SS.MMMsec if under 60 seconds (invisibly for show_time
). See examples.
timetaken
, system.time
sys_time_print(Sys.sleep(1))
a = iris
sys_time_print({
res = iris %>%
mutate_dt(one = 1)
})
res
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.