[R] Obtaining the time to execute a R command

Eric Berger er|cjberger @end|ng |rom gm@||@com
Wed Nov 20 16:48:46 CET 2019


Hi Jeff,
You might want to check out the microbenchmark() function in the
microbenchmark package.

install.packages("microbenchmark")
library(microbenchmark)
?microbenchmark

HTH,
Eric


On Wed, Nov 20, 2019 at 5:45 PM Jeff Reichman <reichmanj using sbcglobal.net>
wrote:

> R- Help
>
>
>
> Is there a command or way to obtain the time it took R to execute a
> command?
>
>
>
>
>
> Sincerely
>
>
>
> Jeff Reichman
>
> (314) 457-1966
>
>
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list