Re: [R] selecting data from table with timestamp

2011-05-12 Thread Pablo Rosado
Thank you Don so much, It was very helpful and it worked from the first try. Thanks for the extra comments on my script. On Wed, May 11, 2011 at 4:41 PM, MacQueen, Don wrote: > Try something similar to this: > > ## unchanged > full <- read.table("March_15.dat", sep=",",row.names=NULL, > as.is=

Re: [R] selecting data from table with timestamp

2011-05-11 Thread MacQueen, Don
Try something similar to this: ## unchanged full <- read.table("March_15.dat", sep=",",row.names=NULL, as.is=TRUE,skip=1,header=TRUE) ## then convert TIMESTAMP to a date-time class full$TIMESTAMP <- as.POSIXct(full$TIMESTAMP) ## now you can use subset() atimeframe <- subset(full, TIMESTAMP