timetaken

0th

Percentile

Pretty print of time taken

Pretty print of time taken since last started.at.

Keywords
data
Usage
timetaken(started.at)
Arguments
started.at

The result of proc.time() taken some time earlier.

Value

A character vector of the form hh:mm:ss, or ss.mmm if under 60 seconds.

Aliases
  • timetaken
Examples
# NOT RUN {
started.at=proc.time()
Sys.sleep(1)
cat("Finished in",timetaken(started.at),"\n")
# }
Documentation reproduced from package data.table, version 1.10.4-1, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.