Skip to content

convert ff_vector object into as.Date

2 messages · Bharat Warule, Jan Wijffels

#
hello R Users!

Can anybody please help me how to convert ff_vector object into as.Date &
then I have apply  ffwhich condition?

class(y_in_ffdf$dateval)
[1] "ff_vector" "ff"       

y_in_ffdf$dateval <- as.Date(y_in_ffdf$dateval)
Error in as.Date.default(y_in_ffdf$dateval) : 
  do not know how to convert 'y_in_ffdf$dateval' to class "Date"
  
y_in_ffdf <- y_in_ffdf[ffwhich(y_in_ffdf$dateval >= max_span_start_date),]

Thanks,
BHarat



-----
Bharat Warule 
Pune
--
View this message in context: http://r.789695.n4.nabble.com/convert-ff-vector-object-into-as-Date-tp4647753.html
Sent from the R help mailing list archive at Nabble.com.