Re: [R] tm_map help

2012-07-23 Thread yofiffy
I encountered this error when I used readLines on a text file, and some of the lines were empty. Once I extracted empty rows it worked fine, EG Text = readLines("~/text.txt") extracts = which(Text == "") Text = Text[-extracts] -- View this message in context: http://r.789695.n4.nabble.com/tm-

Re: [R] tm_map help

2012-02-27 Thread Milan Bouchet-Valat
Le lundi 27 février 2012 à 10:47 +1100, Sachinthaka Abeywardana a écrit : > Hi all, > > I am trying to do some text mining with twitter and I am getting the error: > > Error in structure(names(sapply(possibleCompletions, "[", 1)), names = x) : > 'names' attribute [1] must be the same length as

[R] tm_map help

2012-02-26 Thread Sachinthaka Abeywardana
Hi all, I am trying to do some text mining with twitter and I am getting the error: Error in structure(names(sapply(possibleCompletions, "[", 1)), names = x) : 'names' attribute [1] must be the same length as the vector [0] When I use tm_map. Has anyone had/seen this error before? The code I