Re: [R] as.POSIXct show milliseconds with format

2011-03-03 Thread Gabor Grothendieck
On Wed, Mar 2, 2011 at 11:04 PM, rivercode wrote: > Hi, > > Trying to create a POSIXct index for an xts object that will display the > POSIXct index as HH:MM:SS.MMM. > > First of all, I am trying to get the as.POSIXct to work with format... > >> as.POSIXct(paste("2011-03-02 09:00:00.000", sep=""),

[R] as.POSIXct show milliseconds with format

2011-03-03 Thread rivercode
Hi, Trying to create a POSIXct index for an xts object that will display the POSIXct index as HH:MM:SS.MMM. First of all, I am trying to get the as.POSIXct to work with format... > as.POSIXct(paste("2011-03-02 09:00:00.000", sep=""), tz="EST", > format="%H:%M:%OS3") [1] NA Why is this returning