RE: [R] Coercing a dataframe column to datetime

2004-06-16 Thread Petr Pikal
PROTECTED] Subject: Re: [R] Coercing a dataframe column to datetime You have forgotten as.POSIXct is needed too. On Mon, 14 Jun 2004 [EMAIL PROTECTED] wrote: I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length

RE: [R] Coercing a dataframe column to datetime

2004-06-16 Thread richard . kittler
] Sent: Tuesday, June 15, 2004 11:10 PM To: Kittler, Richard Cc: [EMAIL PROTECTED] Subject: RE: [R] Coercing a dataframe column to datetime On 15 Jun 2004 at 11:31, [EMAIL PROTECTED] wrote: Thank you! The next step in the conversion still fails and I can't seem to find any examples

RE: [R] Coercing a dataframe column to datetime

2004-06-16 Thread richard . kittler
-Original Message- From: Kittler, Richard Sent: Tuesday, June 15, 2004 11:32 AM To: 'Prof Brian Ripley' Cc: [EMAIL PROTECTED] Subject: RE: [R] Coercing a dataframe column to datetime Thank you! The next step in the conversion still fails and I can't seem to find any examples in the archives

RE: [R] Coercing a dataframe column to datetime

2004-06-15 Thread richard . kittler
408-749-4099 -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 12:05 PM To: Kittler, Richard Cc: [EMAIL PROTECTED] Subject: Re: [R] Coercing a dataframe column to datetime You have forgotten as.POSIXct is needed too. On Mon, 14 Jun 2004

[R] Coercing a dataframe column to datetime

2004-06-14 Thread richard . kittler
I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length of the coerced object is always 9. What am I doing wrong here: . ds - cbind(1:2, c(02/27/92

Re: [R] Coercing a dataframe column to datetime

2004-06-14 Thread Prof Brian Ripley
You have forgotten as.POSIXct is needed too. On Mon, 14 Jun 2004 [EMAIL PROTECTED] wrote: I am trying to coerce a data frame column from character to datetime using strptime but keep getting an error because the length of the coerced object is always 9. What am I doing wrong here: