search for: 15dec2006

Displaying 1 result from an estimated 1 matches for "15dec2006".

2009 Jan 06
1
sqldf with date (class date) variables ?
Hello, I am having trouble with retrieving some data in queries involve with variables with data type "date". See the enclosed example: ll<-c("21DEC2006","15DEC2006") ss<-data.frame(ll) ss<-transform(ss,ll=as.date(as.character(ll))) (ss) ll 1 17156 2 17150 tt<-sqldf("select ll from ss") (tt) > ll 1 NA 2 NA > str(ss) 'data.frame': 2 obs. of 1 variable: $ ll:Class 'date' int [1:2] 17156 17150 > str...