Dear R People: Could someone recommend a good reference for Rprofing, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
If f is your function just do this: Rprof(); f(); Rprof(NULL); summaryProf() Also check out the profr package and for benchmarking check out ?system.time and http://rbenchmark.googlecode.com On Sat, Feb 28, 2009 at 4:15 AM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:> Dear R People: > > Could someone recommend a good reference for Rprofing, please? > > Thanks, > Erin > > > -- > Erin Hodgess > Associate Professor > Department of Computer and Mathematical Sciences > University of Houston - Downtown > mailto: erinm.hodgess at gmail.com > > ______________________________________________ > 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. >
Erin, On 28 February 2009 at 03:15, Erin Hodgess wrote: | Dear R People: | | Could someone recommend a good reference for Rprofing, please? Well, you have the notes of the 'high performance computing with R' tutorial at last summer's useR conference giving you examples using both 'base R' functions and add-on packages. That could be a starting point. Beyond that, I may have an example of profiling external libraries for the next 'high performance computing with R' tutorial preceding the R / Finance conference (http://www.RinFinance.com) next month --- and I happen to know you'll be attending that. So see you there, and if you have more concrete questions, let us know. Hth, Dirk -- Three out of two people have difficulties with fractions.