Re: [R] Date operation Question in R

2017-03-31 Thread David Winsemius
> On Mar 30, 2017, at 3:16 PM, Thomas Petzoldt wrote: > > On 30.03.2017 23:34, Paul Bernal wrote: >> Hello everyone, >> >> Is there a way to use the function seq to generate a date sequence in >> this kind of format: jan-2007? > > format(seq(ISOdate(2017,1,1), ISOdate(2017,12,31), "months"), "

Re: [R] Date operation Question in R

2017-03-30 Thread Thomas Petzoldt
On 30.03.2017 23:34, Paul Bernal wrote: Hello everyone, Is there a way to use the function seq to generate a date sequence in this kind of format: jan-2007? format(seq(ISOdate(2017,1,1), ISOdate(2017,12,31), "months"), "%b-%Y") Also, is there a way to change the Sys.Date() format to the one

[R] Date operation Question in R

2017-03-30 Thread Paul Bernal
Hello everyone, Is there a way to use the function seq to generate a date sequence in this kind of format: jan-2007? Also, is there a way to change the Sys.Date() format to the one mentioned above (jan-2007)? Thanks in advance for your valuable help, Best regards, Paul [[alternative H