This post was originally published here
This to the beginning:
strt<-Sys.time()
And this to the end:
Example output:
print(Sys.time()-strt)
Time difference of 16.39691 secs
Surgical & Critical Care Informatics
Better surgical and critical care through data and technology