search for: mintotal

Displaying 1 result from an estimated 1 matches for "mintotal".

Did you mean: wintotal
2010 Sep 23
0
R CMD Rprof --help suggestion
...for large files no longer applies? PS 2: summaryRprof() currently does not appear to support these min % options. I find them quite useful so I would like to request them to be added. By looking at how .Rprof() post-processes summaryRprof(), a quick hack I use is summaryRprof2 <- function(..., mintotal=-1L, minself=-1L) { res <- utils::summaryRprof(...) if (mintotal>0) res$by.total <- res$by.total[res$by.total[,"total.pct"]>=mintotal,] if (minself>0) res$by.self <- res$by.self[res$by.self[,"self.pct"]>=minself,] return(res) } h. -- +--- | Hiroyuk...