I am using system.time(expression) to measure execution time for an R function.
The output I get for the call
system.time(myfunction())
Here is some simple explanations:
Elapsed Time is the time charged to the CPU(s) for the expression.
User Time is the wall clock time. The time that you as a user experienced.
Usually both times are relatively close. But they may vary in some other situations. For example: