powered by
tic()
Used in conjunction with toc() to find the elapsed time when code is executed.
toc()
tic(type = c("elapsed", "user.self", "sys.self"))
can be either "elapsed" "user.self" or "sys.self"
"elapsed"
"user.self"
"sys.self"
time tic was called
toc
# NOT RUN { tic() Sys.sleep(3) toc() # }
Run the code above in your browser using DataLab