[R] Time it takes to run a code

Maram SAlem marammagdysalem at gmail.com
Sun Oct 25 22:05:03 CET 2015


Hi All,

I'm using a function, say func, and I want to apply it to all the rows of a
certain matrix. The problem is that my code kept on running for more than
two days without giving any output. I've made some modifications.But is
there a way to know the time needed to execute my code and reach an ouput
but before running the code and not after it is run? I've tried Sys.time()
and system.time(), but still the console freezed for so long and I didn't
reach anything.

Any suggestions are much appreciated.
Thanks in advance.

Maram Salem

	[[alternative HTML version deleted]]



More information about the R-help mailing list