[R] Improving data processing efficiency
Esmail Bonakdarian
esmail.js at gmail.com
Sat Jun 7 01:45:43 CEST 2008
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
>
More information about the R-help
mailing list