R - Time Your Code
start <- proc.time()
# Code to measure
for (i in 1:100000){
h[i] <- g[i] + 1
}
# Stop the clock
proc.time() - start
Man_Page
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.