tictoc | R Documentation |
Calculates elapsed time between calls to tic
and toc
.
tic(gcFirst = TRUE)
toc()
gcFirst |
Logical value. |
tic
Start timer.
toc
Stop timer and report elapsed time.
tic()
for (i in 1:1000000) x <- i
toc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.