timetaken | R Documentation |
Pretty print of time taken since last started.at.
timetaken(started.at)
started.at |
The result of proc.time() taken some time earlier. |
A character vector of the form HH:MM:SS, or SS.MMMsec if under 60 seconds.
started.at=proc.time()
Sys.sleep(1)
cat("Finished in",timetaken(started.at),"\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.