Re: [R] unix.time

2008-03-26 Thread Faheem Mitha
On Wed, 26 Mar 2008, Prof Brian Ripley wrote: > Where did you get that idea from? Not from the help page: No. From direct observation. Ie. comparing what the function actually returned vs actual elapsed time. In one case I observed, these two are dramatically different. It is possible I made

Re: [R] unix.time

2008-03-26 Thread Prof Brian Ripley
Where did you get that idea from? Not from the help page: 'system.time' calls the function 'proc.time', evaluates 'expr', and then calls 'proc.time' once more, returning the difference between the two 'proc.time' calls. 'unix.time' is an alias of 'system.time', for compatibi

Re: [R] unix.time

2008-03-26 Thread Mark W Kimpel
see ?system.time Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry Indiana University School of Medicine 15032 Hunter Court, Westfield, IN 46074 (317) 490-5129 Work, & Mobile & VoiceMail (317) 204-4202 Home (no voice mail please) mwkimpelgmailcom **

[R] unix.time

2008-03-26 Thread Faheem Mitha
Hi, As far as I can tell, The R function unix.time calculates elapsed CPU time. Is there a command within R to measure actual elapsed time (I think this is sometimes referred to as wall time)? For example, the time command from GNU time calculates the actual elapsed time, as far as I can tell