[R] Obtaining the time to execute a R command

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Wed Nov 20 17:01:44 CET 2019


Hello,

There is

system.time {base}
CPU Time Used

Description

Return CPU (and other) times that expr used.


There are also packages microbenchmark or bench.


Hope this helps,

Rui Barradas

Às 15:44 de 20/11/19, Jeff Reichman escreveu:
> 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.
>



More information about the R-help mailing list