Re: [R] spliting first 10 words in a string

2010-11-03 Thread Matevž Pavlič
-h...@stat.math.ethz.ch Subject: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 3:01 PM, Matevž Pavlič wrote: Hi all, Thanks for all the help. I managed to do it with what Gaj suggested (Excel :(). The last solution from David is also freat i just don't undestand why R

Re: [R] spliting first 10 words in a string

2010-11-02 Thread Gaj Vidmar
better... Thank you, m -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Monday, November 01, 2010 10:13 PM To: Matev¾ Pavliè Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string On Nov 1, 2010, at 4:39 PM, Matev¾ Pavliè wrote

Re: [R] spliting first 10 words in a string

2010-11-02 Thread David Winsemius
Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Monday, November 01, 2010 10:13 PM To: Matev¾ Pavliè Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string On Nov 1, 2010, at 4:39 PM, Matev¾ Pavliè wrote: Hi all, I have a columnn with text that has

Re: [R] spliting first 10 words in a string

2010-11-02 Thread Matevž Pavlič
: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 6:24 AM, Gaj Vidmar wrote: Though forbidden in this list, in Excel it's just (literally!) five clicks away! (with the column in question selected) Data - Text to Columns - Delimited - tick Space - Finish Pa je! (~Voila

Re: [R] spliting first 10 words in a string

2010-11-02 Thread David Winsemius
Vidmar Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 6:24 AM, Gaj Vidmar wrote: Though forbidden in this list, in Excel it's just (literally!) five clicks away! (with the column in question selected) Data - Text to Columns - Delimited - tick

Re: [R] spliting first 10 words in a string

2010-11-02 Thread steven mosher
Of David Winsemius Sent: Tuesday, November 02, 2010 3:47 PM To: Gaj Vidmar Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 6:24 AM, Gaj Vidmar wrote: Though forbidden in this list, in Excel it's just (literally!) five clicks away

Re: [R] spliting first 10 words in a string

2010-11-02 Thread Matevž Pavlič
, m -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Tuesday, November 02, 2010 8:23 PM To: Matevž Pavlič Cc: Gaj Vidmar; r-h...@stat.math.ethz.ch Subject: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 3:01 PM, Matevž Pavlič wrote: Hi all

Re: [R] spliting first 10 words in a string

2010-11-02 Thread steven mosher
Sent: Tuesday, November 02, 2010 3:47 PM To: Gaj Vidmar Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] spliting first 10 words in a string On Nov 2, 2010, at 6:24 AM, Gaj Vidmar wrote: Though forbidden in this list, in Excel it's just (literally!) five clicks away! (with the column

Re: [R] spliting first 10 words in a string

2010-11-01 Thread David Winsemius
On Nov 1, 2010, at 4:39 PM, Matevž Pavlič wrote: Hi all, I have a columnn with text that has quite a few words in it. I would like to split these words in separate columns, but just first ten words in the string. Is that possible in R? Not sure what a column means to you. It's not

Re: [R] spliting first 10 words in a string

2010-11-01 Thread Matevž Pavlič
, 2010 10:13 PM To: Matevž Pavlič Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string On Nov 1, 2010, at 4:39 PM, Matevž Pavlič wrote: Hi all, I have a columnn with text that has quite a few words in it. I would like to split these words in separate columns, but just

Re: [R] spliting first 10 words in a string

2010-11-01 Thread Matevž Pavlič
, 2010 10:34 PM To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string Hi, I am sorry, will try to be more exact from now on... I have a data.frame with a field called Opis. IT contains sentenses that I would like to split in words or fields in data.frame

Re: [R] spliting first 10 words in a string

2010-11-01 Thread Phil Spector
: Monday, November 01, 2010 10:34 PM To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string Hi, I am sorry, will try to be more exact from now on... I have a data.frame with a field called Opis. IT contains sentenses that I would like to split in words

Re: [R] spliting first 10 words in a string

2010-11-01 Thread David Winsemius
-boun...@r-project.org ] On Behalf Of Matevž Pavlič Sent: Monday, November 01, 2010 10:34 PM To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] spliting first 10 words in a string Hi, I am sorry, will try to be more exact from now on... I have a data.frame with a field called Opis