Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Add months to ore.date

hvaleriaDec 10 2014 — edited Dec 11 2014

Is there a way to add months to on ore.date without ore.pull?

Example:

ORE version 1.4

> DATE <- ore.push(seq(as.Date("1999/1/1"), by="3 months", length =2))[2]

> DATE

[1] "1999-04-01"

> class(DATE)

[1] "ore.date"

attr(,"package")

[1] "OREbase"

>

> NEW_DATE <- seq(DATE, by="3 months", length =2)

Error in seq.int(r1$mon, by = by, length.out = length.out) :

  'from' must be finite

This post has been answered by Sherry Lamonica-Oracle on Dec 11 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2015
Added on Dec 10 2014
1 comment
817 views