[R] run time function for R scripts?

From: Brigid Mooney <bkmooney_at_gmail.com>
Date: Tue, 25 Nov 2008 14:22:31 -0500


Hi All,

I was wondering if there was a function in R that would output the total run time for various scripts.

For now I have the following workaround:

begTime <- Sys.time()

... the rest of the R script...

runTime <- Sys.time()-begTime

Is there another function that I don't know about that would return this information in a more elegant manner?

Thanks!

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 25 Nov 2008 - 19:28:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 20:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive