Re: [R] how to cluster rows of words in a text file

2012-03-26 Thread Alekseiy Beloshitskiy
-help-boun...@r-project.org] on behalf of mail me [mailme...@googlemail.com] Sent: 23 March 2012 20:03 To: r-help Subject: [R] how to cluster rows of words in a text file Hi: I am trying to cluster the rows of a text file with kmeans: I load the data as follows file1 <- read.csv("somefi

[R] how to cluster rows of words in a text file

2012-03-23 Thread mail me
Hi: I am trying to cluster the rows of a text file with kmeans: I load the data as follows file1 <- read.csv("somefile.csv") and the file can be viewed having the following line of words > file1 1 word1 word3 word4 word1 2 word1 word4 word3 word1 3 word4 word2 word4 word3 4 word4 word2