[R] factor conversion to date/time

2012-05-02 Thread marjolein post
Hi, I've been trying to convert numbers from an online temperature database into dates and time that R recognizes. I've tried as.Date, as.POSIXlt and strptime the problem is that the database has put a T between the numbers and R will not accept any conversions. currently it sees the date

Re: [R] factor conversion to date/time

2012-05-02 Thread Duncan Murdoch
On 02/05/2012 8:08 AM, marjolein post wrote: Hi, I've been trying to convert numbers from an online temperature database into dates and time that R recognizes. I've tried as.Date, as.POSIXlt and strptime the problem is that the database has put a T between the numbers and R will not accept

Re: [R] factor conversion to date/time

2012-05-02 Thread R. Michael Weylandt
Please don't triple post. Michael On Wed, May 2, 2012 at 8:08 AM, marjolein post mayo_j...@hotmail.com wrote: Hi, I've been trying to convert numbers from an online temperature database into dates and time that R recognizes. I've tried as.Date, as.POSIXlt and strptime  the problem is

Re: [R] factor conversion to date/time

2012-05-02 Thread John Kane
Sent: Wed, 2 May 2012 14:08:26 +0200 To: r-help@r-project.org Subject: [R] factor conversion to date/time Hi, I've been trying to convert numbers from an online temperature database into dates and time that R recognizes. I've tried as.Date, as.POSIXlt and strptime the problem