Hi all,

I'm dealing with dates in R (2.7.2), but some basic operations raise a  
warning.

Incompatible methods ("+.Date", "Ops.difftime") for "+"

I saw this topic in this mailing list, but I do not understand what to  
do...

cf. https://stat.ethz.ch/pipermail/r-help/2008-June/165842.html

Do I have to convert Dates to numeric?

Thanks in advance

Christophe

PS : R script used

alpha2=as.Date("2008-12-21")
alpha1=as.Date("2008-12-21")-as.Date("2008-10-26")
alpha1
alpha2
alpha1+alpha2


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to