Dear list members,

I am trying to figure out how much CPU time individual commands inside one of my functions consume. Is it possible to obtain the CPU times of a whole sequence of commands inside a function? I know how to use system.time() but this would only give me the time consumed by the whole function. The only (cumbersome) way I figured out would be to run system.time for each individual command. Does anybody have a hint on a function/package that allows to do this automatically?


Thanks a lot
Jannis

______________________________________________
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.

Reply via email to