Monday, 12 August 2013

Automatically always time functions in R

Automatically always time functions in R

I hacked together an Emacs function in order to send
tOne <- proc.time()[3]
before my "send-to-R" key, followed by
tTwo <- proc.time()[3]
afterwards, then printing the difference. The printing gets quite messy
though.
Is there a better way in R to automatically time everything send to R?
(such as in F# #time "on")

No comments:

Post a Comment