is there any function can record the CPU time when running a paragraph of code? if it is, can anyone show me an little example of how-to? thanks a lot!
On Wed, 15 Jan 2003, chenwj wrote:> is there any function can record the CPU time when running a paragraph of > code?system.time() should do what you want, I believe.> if it is, can anyone show me an little example of how-to?There are examples of usage in help("system.time") -J
?system.time as found by help.search("CPU time")! On Wed, 15 Jan 2003, chenwj wrote:> is there any function can record the CPU time when running a paragraph of > code? > > if it is, can anyone show me an little example of how-to?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595