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

Carsten Steinhoff carsten.steinhoff at stud.uni-goettingen.de
Tue Jul 19 23:59:14 CEST 2005


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




More information about the R-help mailing list