Dear R User,                   I am creating a xts object for trading data.
Initially I am passing date_time_stamp and price in xts object as follows
price
12.13
12.44
12.32
12.54
etc.
date_time
"2009-07-23 09:55:01.456"
"2009-07-23 09:55:01.717"
"2009-07-23 09:55:02.632"
"2009-07-23 09:55:02.564"
etc.

data=xts(price,as.POSIXct(date_time))
 #don't know better way if there any. If I pass the date_stamp without
as.POSIXct it gives me an error, since date_time is character object.

here data will not have milliseconds part. Any help?
Suneel

	[[alternative HTML version deleted]]

