Re: [R] Naming functions for the purpose of profiling

2010-01-07 Thread Magnus Torfason
I wanted to send an update on my exploits in trying to get rid of entries in my Rprof.out file (see my prior mail below). Basically, I have now found a way to dynamically name a function, and even if it is not the cleanest way, I think it will help me in some of my profiling needs, and may hel

[R] Naming functions for the purpose of profiling

2010-01-05 Thread Magnus Torfason
Hi all, I have some long-running code that I'm trying to profile. I am seeing a lot of time spent inside the function. Of course, this can in fact be any of several functions, but I am unable to see how I could use the information from Rprof.out to discern which function is taking the most t