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

ssim@lic.co.nz ssim at lic.co.nz
Tue Oct 18 16:32:15 CEST 2005


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




More information about the R-help mailing list