[R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread Sachinthaka Abeywardana
Hi all, Suppose I have a data frame with mixed content (name age and address). a-Name: John Smith Age: 35 Address: 32, street, sub, something b-data.frame(a) 1. The question is I want to extract the name age and address separately from this data frame (containing potentially more people). 2.

Re: [R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread Oliver Keyes
Total newb here, but you might want to check out ?grep and ?regmatches as a start. (ways to match and then extract substrings respectively) On Mon, Jan 14, 2013 at 9:30 AM, Sachinthaka Abeywardana sachin.abeyward...@gmail.com wrote: Hi all, Suppose I have a data frame with mixed content

Re: [R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread Gabor Grothendieck
On Mon, Jan 14, 2013 at 4:30 AM, Sachinthaka Abeywardana sachin.abeyward...@gmail.com wrote: Hi all, Suppose I have a data frame with mixed content (name age and address). a-Name: John Smith Age: 35 Address: 32, street, sub, something b-data.frame(a) 1. The question is I want to extract

Re: [R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread Manjusha Joshi
Hello, Suppose I have a data frame with mixed content (name age and address). a-Name: John Smith Age: 35 Address: 32, street, sub, something b-data.frame(a) Since it is dataframe, assumption is you stored data in the columns as Name, Age, Address, sub etc. 1. The question is I want to

Re: [R] Grabbing Specific Words from Content (basic text mining)

2013-01-14 Thread arun
sachin.abeyward...@gmail.com To: r-help@r-project.org r-help@r-project.org Cc: Sent: Monday, January 14, 2013 4:30 AM Subject: [R] Grabbing Specific Words from Content (basic text mining) Hi all, Suppose I have a data frame with mixed content (name age and address). a-Name: John Smith Age: 35 Address