Date vectors in R can be handled in several ways. Check the documentation and the R lists.
Having a DateVector is an interesting idea. It could possibly make working with dates vectors easier from rpy2 than from R. On 23/04/10 21:18, John Owens wrote: > Howdy, I'd like to bring Python dates into rpy2 (and then into > ggplot2). How might this best be done? R evidently supports dates > natively. > > What seems ideal is having a DateVector in the vein of FloatVector, > StrVector, and so on. > > If I put a date in the format "datetime.date" into a Vector, python > returns > > ValueError: Nothing can be done for the type<type 'datetime.date'> > at the moment. > > It would be easy for me to convert datetime.date into any other format, > though. > > Any suggestions appreciated. Thanks! > > JDO > > > ------------------------------------------------------------------------------ > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------------ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list