[R] total CPU time in Matlab - what is the equivalent in R?

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Aug 27 08:12:58 CEST 2012


Google is your friend

http://www.ats.ucla.edu/stat/r/faq/timing_code.htm

http://r.research.att.com/benchmarks/
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Gopi Goteti <gopi.goteti at gmail.com> wrote:

>I am trying to compare the speed of my R code with that reported by the
>authors of a reference paper who used Matlab. The authors of the paper
>state "Total CPU time for the algorithm was 10 s for the ...on a modest
>mobile 2.2 GHz Pentium processor running MATLAB v.6".
>
>I am using proc.time (similar to the example shown in ?proc.time) to
>determine the speed of my R code. Could someone please tell me whether
>"user" time or "system" time is the equivalent of total CPU time
>reported
>by Matlab.
>
>Thanks
>GG
>
>	[[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.




More information about the R-help mailing list