hadley wickham wrote:
Hi, I tried this suggestion as I am curious about bottlenecks in my own R code ...
Why not try profiling? The profr package provides an alternative display that I find more helpful than the default tools: install.packages("profr")
> install.packages("profr") Warning message: package ‘profr’ is not available > any ideas? Thanks, Esmail
library(profr) p <- profr(fcn_create_nonissuing_match_by_quarterssinceissue(...)) plot(p) That should at least help you see where the slow bits are. Hadley
______________________________________________ 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.