In order to check the amount of time my code chuck took to finish execution , i use system.time function available in R.
The output of system.time for my code chuck is
user system elapsed
0.55 2.75 72.85
As per R documentation ,
“The values presented (user, system, and elapsed) will be defined by your operating system, but generally, the user time relates to the execution of the code, the system time relates to your CPU, and the elapsed time is the difference in times since you started the stopwatch (and will be equal to the sum of user and system times if the chunk of code was run altogether).”
But, i am unable to understand , why my code is taking 72 sec as Elapsed time.