[R] Re : Seperate timestamp data into date and time

From: <ssim_at_lic.co.nz>
Date: Tue 18 Oct 2005 - 13:36:34 EST

Dear R list,

I am reading in text file data prepared in Access database by someone. One of the field contains timestamp data, how can I separate the timestamp data into two varaibles: date and time. Can I specify the field is in timestamp format when I first reading in ?

My reading in data are as below:

449  LWT  22/10/2003 15:43:00  441  143
449  LWT  17/11/2003 15:25:00  421  169
449  LWT  14/11/2003 15:04:00  454  166
449  LWT   17/12/2003 5:55:00  428  199

449 LWT 7/12/2003 15:28:00 452 189
449 LWT 15/11/2003 15:20:00 457 167 Thanks in advance.
Stella

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Oct 18 13:38:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST