Re: [R] Changing string to date

2013-08-30 Thread Brian Diggs
On 8/30/2013 3:36 AM, Uwe Ligges wrote: > > > On 30.08.2013 11:59, Christofer Bogaso wrote: >> Hello again, >> >> I have a string which I need to put in some legitimate date format. >> >> My string is: "MAY-14" >> >> And output format would be "05/01/2014", this should be of Date class, >> so that

Re: [R] Changing string to date

2013-08-30 Thread PIKAL Petr
Christofer Bogaso > Sent: Friday, August 30, 2013 12:00 PM > To: r-help > Subject: [R] Changing string to date > > Hello again, > > I have a string which I need to put in some legitimate date format. > > My string is: "MAY-14" > > And output fo

Re: [R] Changing string to date

2013-08-30 Thread Uwe Ligges
On 30.08.2013 11:59, Christofer Bogaso wrote: Hello again, I have a string which I need to put in some legitimate date format. My string is: "MAY-14" And output format would be "05/01/2014", this should be of Date class, so that I can make some sensible calculation with it. I have tried thi

[R] Changing string to date

2013-08-30 Thread Christofer Bogaso
Hello again, I have a string which I need to put in some legitimate date format. My string is: "MAY-14" And output format would be "05/01/2014", this should be of Date class, so that I can make some sensible calculation with it. I have tried this without any success: > as.Date("MAY-14", format