[R] Help on zoo and datetime series

From: <domenico.mozzanica_at_alice.it>
Date: Tue 09 May 2006 - 06:09:45 EST

Hello,
i would like to import this txt file:

Giorno;PM10

2006-01-01 10:10;10.3
2006-02-02 20:22;50.3
2006-03-03 23:33;20.1

.........

As it's an irregular time series i use zoo as follow:

require(zoo)
z <- read.table("c:\\1.csv", sep=";", na.strings="-999", header=TRUE) q <- zoo(z$PM10, strptime(as.character(z$Giorno),"%Y-%m-%d %H:%M"))

At this point this error message appears:

Errore in order(x, ..., na.last = na.last, decreasing = decreasing) :

        tipo 'list' non implementato in 'orderVector1'

I can't understand how can I import such a file. Is there anybody who can help me?

Thanks

Domenico

        [[alternative HTML version deleted]]



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 May 09 06:16:32 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 09 May 2006 - 08:10:07 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.