[R] difftime / RBloomberg

Schiller Judith 1541 EB Judith.Schiller at erstebank.at
Thu Mar 22 12:39:12 CET 2007


hi,

I've troubles with some difftime objects. e.g.

ISOdate(2001, 4, 26) - ISOdate(2001, 2, 26) - 2

works, telling me "Time difference of 57 days". But when I'd like to add
days, such as

ISOdate(2001, 4, 26) - ISOdate(2001, 2, 26) + 2

the function gives me an error. Function "as.COMDate.chron" of the
Rbloomberg package doesn't work for that reason.
I'm running R on a Windows machine, R version 2.4.1.

Thanks, Judith



More information about the R-help mailing list