Reputation: 8254
Are there any tools in R that would allow me to see what is slowing down a function ( lines of code in the function that takes most amount of time , statistics etc.) ?
Cheers !
Upvotes: 3
Views: 1256
Reputation: 1037
Here's a simple guide on Rprof, http://cran.r-project.org/doc/manuals/R-exts.html#Profiling-R-code-for-speed
And of course the package description: http://stat.ethz.ch/R-manual/R-patched/library/utils/html/Rprof.html
Upvotes: 4