On 24-12-2009, at 18:21, Allin Cottrell wrote:
On Thu, 24 Dec 2009, Berend Hasselman wrote:
> I discovered that the results of my previous post today were
> obtained NOT with 32-bit R but with 64-bit R. I was running the
> script within the R-bundle of the editor TextMate; it uses
> 64-bit R and I don't know how to change that. Sorry about this.
>
> The correct 32-bit results are
>
> RNGmethod ctype result user system elapsed
> 1 Inversion loop 0.05118006 2.081 0.012 2.093
Thanks, but doesn't R have an internal timer? Results obtained
via the "time" command are not really comparable with the ones
that Sven put up.
I didn't use an external time command.
I used the R provided system.time( { R-expressions } ) function (in the base package).
From the help entry for proc.time:
The ‘user time’ is the CPU time charged for the execution of user instructions of the
calling process. The ‘system time’ is the CPU time charged for execution by the system on
behalf of the calling process.
I haven't found anything else.
Berend