Re: [R] Spliting a text

2010-08-04 Thread Michael Hannon
- Original Message > From: Megh Dal > To: r-h...@stat.math.ethz.ch > Sent: Wed, August 4, 2010 4:04:06 AM > Subject: [R] Spliting a text > > Hi, I want to split a text to seperate numerical and non-numerical portions > of >that. For example suppose I have

Re: [R] Spliting a text

2010-08-04 Thread David Winsemius
On Aug 4, 2010, at 7:04 AM, Megh Dal wrote: Hi, I want to split a text to seperate numerical and non-numerical portions of that. For example suppose I have a text "abc 3456" and I want to split in 2 parts like "abc" & "3456". Is there any function to do that? ?strsplit ?regex -- David W

Re: [R] Spliting a text

2010-08-04 Thread Gabor Grothendieck
On Wed, Aug 4, 2010 at 7:04 AM, Megh Dal wrote: > Hi, I want to split a text to seperate numerical and non-numerical portions > of that. For example suppose I have a text "abc 3456" and I want to split in > 2 parts like "abc" & "3456". > > Is there any function to do that? > If the parts of you

[R] Spliting a text

2010-08-04 Thread Megh Dal
Hi, I want to split a text to seperate numerical and non-numerical portions of that. For example suppose I have a text "abc 3456" and I want to split in 2 parts like "abc" & "3456". Is there any function to do that? Thanks, __ R-help@r-project.org ma