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.hodg...@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.hodg...@gmail.com > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.