Skip to content

Rprofiling

3 messages · Erin Hodgess, Gabor Grothendieck, Dirk Eddelbuettel

#
Dear R People:

Could someone recommend a good reference for Rprofing, please?

Thanks,
Erin
#
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:
#
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