[R] Problems with date-format (R 2.1.1 + chron)

From: Carsten Steinhoff <carsten.steinhoff_at_stud.uni-goettingen.de>
Date: Wed 20 Jul 2005 - 07:59:14 EST


Hello,  

today I've updated on the newest R-Version. But sadly a function I needed didnt want to work:
The input is e.g.  

days(as.Date("21-07-2005","%d-%m-%y"))

the error is: Fehler in Math.Date(dts): floor nicht definiert für Date Objekte
(Error in Math.Date(dts): floor not defined for date objects)

Same for year. Only months gives me the correct output. In Version 2.01 it worked very well, with the same chron library. Whats wrong ?  

Carsten



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 20 08:03:42 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:50 EST