Works for me:

Lines <- "2005-01-03 09:05;0.00
2005-01-03 09:10;0.01
2005-01-03 09:15;0.02
2005-01-03 09:20;0.03
2005-01-03 09:25;0.04
2005-01-03 09:30;0.05
2005-01-03 09:35;0.06
2005-01-03 09:40;0.07
2005-01-03 09:45;0.08
2005-01-03 09:50;0.09
2005-01-03 09:55;0.10
2005-01-03 10:00;0.00
2005-01-03 10:05;0.00"

DF <- read.table(textConnection(Lines), sep = ';')
DF[!as.POSIXlt(DF$V1)[['min']] %% 15,]

How to you read the data?

On Tue, Aug 17, 2010 at 11:50 AM, skan <juanp...@gmail.com> wrote:

>
> I get this message
> "character string is not in a standard unambiguous format"
> and if I try to use a zoo object
> "Error en `$.zoo`(final, V2) : not possible for univariate zoo series"
>
> cheers
> --
> View this message in context:
> http://r.789695.n4.nabble.com/remove-rows-tp2328312p2328487.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to