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.
convert ff_vector object into as.Date
2 messages · Bharat Warule, Jan Wijffels
This might be what you are looking for. It uses with.ffdf from package ffbase. require(ffbase) y_in_ffdf$dateval <- with(y_in_ffdf, as.Date(dateval) ) Jan -- View this message in context: http://r.789695.n4.nabble.com/convert-ff-vector-object-into-as-Date-tp4647753p4647764.html Sent from the R help mailing list archive at Nabble.com.