Skip to content
Prev 198906 / 398506 Next

re ading tokens

Greetings,

I am not familiar with processing text in R.  Can someone tell me how to
read each line of words as separate elements in a list?

FE, I would like to turn:

word1 word2 word3
word2 word4

into a list of length two with three character elements in the first list
and two elements in the second.  I know that this should be easy, but I am a
little confused by the text functions.

Thanks in advance!