Re: [R] Meaning of proc.time()

2010-07-29 Thread Christofer Bogaso
Ok, but what are "user CPU" and "system CPU?" If I know corrrectly, I only have a single CPU in my system. It is not a multi-corer system. Should I read that, system CPU time is the time that my CPU took for actual calculation, and the user CPU time is the time that my CPU took to analyze my code t

Re: [R] Meaning of proc.time()

2010-07-29 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Christofer Bogaso > Sent: Thursday, July 29, 2010 7:51 AM > To: jim holtman > Cc: r-h...@stat.math.ethz.ch > Subject: Re: [R] Meaning of proc.time() >

Re: [R] Meaning of proc.time()

2010-07-27 Thread jim holtman
This is reporting on the accumulated values of the user CPU, system CPU and elapsed time. The 'user + system' values indicate how much CPU has been used to process whatever has occurred in the R session so far. To get the time to execute a statement, or block of code, you can use 'system.time' or