Re: [R] Best way to strsplit a column

2008-03-04 Thread Gabor Grothendieck
tm > > > - Original Message - > From: "Daniel Brewer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 04, 2008 2:54 PM > Subject: [R] Best way to strsplit a column > > > > Hello, > > > > I have a data.frame

Re: [R] Best way to strsplit a column

2008-03-04 Thread Satoshi Takahama
ot; "7" Hope this helps, ST - Original Message ---- From: Daniel Brewer <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Tuesday, March 4, 2008 5:54:51 AM Subject: [R] Best way to strsplit a column Hello, I have a data.frame with a column that I would like to split into based

Re: [R] Best way to strsplit a column

2008-03-04 Thread Dimitris Rizopoulos
aniel Brewer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2008 2:54 PM Subject: [R] Best way to strsplit a column > Hello, > > I have a data.frame with a column that I would like to split into > based > around the delimiter ":".

[R] Best way to strsplit a column

2008-03-04 Thread Daniel Brewer
Hello, I have a data.frame with a column that I would like to split into based around the delimiter ":". This is a useful feature in Excel. I cannot work out the best way to do it in R. I am sure you need to use strsplit, but that returns a list. The problem is that some values in the colu