Thanks to everyone for your help.
Yuup, this is my stupid word "secs" which I put there.
Usually I get to run simulation on my machine only a few seconds.
Now, I recode my timestamp, but still I don't know how to make
x days, x hours, x minutes, x seconds.
Best wishes, Muhammad Subianto
On this d
The word "secs" appears in "Run time: 1.960625 secs" because you put
it there in your cat() statement. It has nothing to do with the
number itself.
Simply try typing
end.time - begin.time
at the prompt, and see what you get.
Then see
?difftime
for more information. Example
difftime
ubianto [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 26, 2005 10:18 AM
> To: R-help@stat.math.ethz.ch
> Subject: [R] How to convert time to days
>
>
> Dear all,
> I have ran a simulation in R.
> This simulation was running about at least two days.
> Here is below the re
Dear all,
I have ran a simulation in R.
This simulation was running about at least two days.
Here is below the result some part of my code about time result.
I don't understand about
Start time: Mon Oct 24, 2005 at 04:23:01 PM
Finish time: Wed Oct 26, 2005 at 03:26:19 PM
Run time: 1.96062