[R] Formatting of time strings

2010-09-10 Thread Dennis Fisher
Colleagues, (OS X, R: 11.1) I am stuck on what should be a simple problem. I have time elements in numeric form (e.g., 14050.5). I want to convert these to HH:MM (e.g., 12:00). I can do this with brute force (7 commands) but I suspect that it can be accomplished with a single command.

Re: [R] Formatting of time strings

2010-09-10 Thread David Winsemius
On Sep 10, 2010, at 6:41 PM, Dennis Fisher wrote: Colleagues, (OS X, R: 11.1) I am stuck on what should be a simple problem. I have time elements in numeric form (e.g., 14050.5). I want to convert these to HH:MM (e.g., 12:00). I can do this with brute force (7 commands) but I suspect

Re: [R] Formatting of time strings

2010-09-10 Thread Gabor Grothendieck
On Fri, Sep 10, 2010 at 6:41 PM, Dennis Fisher fis...@plessthan.com wrote: Colleagues, (OS X, R: 11.1) I am stuck on what should be a simple problem. I have time elements in numeric form (e.g., 14050.5).  I want to convert these to HH:MM (e.g., 12:00).  I can do this with brute force (7