[R] when to use textConnection ??
Gabor Grothendieck
ggrothendieck at gmail.com
Tue Aug 17 02:57:36 CEST 2010
On Mon, Aug 16, 2010 at 8:50 PM, skan <juanpide at gmail.com> wrote:
>
> Oh, I got it with these code:
>
> tmp <- read.table("file.txt")
> mydata <- zoo(z$V3, as.chron(paste(z$V1,z$V2)))
>
> but that way I cannot specify the format of the date
>
The default method of as.chron has a format= argument which uses the %
codes shown in the Details section of ?strptime
More information about the R-help
mailing list