[Rd] Wish List: base::source() + Add Execution Time Argument
Juan Telleria
jtelleriar at gmail.com
Thu Dec 21 12:46:25 CET 2017
Dear R Developers,
Adding to source() base function a Timer which indicates the execution time
of the source code would be a very well welcome feature, and in my opinion
not difficult to implement as an additional funtion argument.
The source(timing = TRUE) function shall execute internally the following
code for each statement:
old <- Sys.time() # get start time at the beginning of source()
# source code
# print elapsed time
new <- Sys.time() - old # calculate difference
print(new) # print in nice format
Thank you.
Kind regards,
Juan Telleria
[[alternative HTML version deleted]]
More information about the R-devel
mailing list