RE: [R] interpreting profiling output

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Wed 28 Jul 2004 - 08:17:10 EST


> From: Kasper Daniel Hansen
>
> On Tue, Jul 27, 2004 at 09:12:56AM +0200, Peter Dalgaard wrote:
> >
> > Hmm... You're using summaryRprof(), obviously. Do the
> results match up
> > with what you get from R CMD Rprof? Looking at the source for
> > summaryRprof, I see that it uses this construction
> >
> > selft <- sapply(ls(envir = self), function(f) get(f, envir =
> > self))
> >
> > which I suspect does not count function names that start
> with a dot...
>
> It does not. Runnig everything through R CMD Rprof gives a much moe
> sensible output. I have no further questions.
>
> Do I file a bug report on summaryRprof - it is certainly
> unintentional
> that it does not compute eg. .C calls when computing the self time?

I thought I did see .C in the output of summaryRprof() at one time...

Andy

> --
> Kasper Daniel Hansen, Research Assistant
> Department of Biostatistics, University of Copenhagen
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 28 08:25:38 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:40:19 EST