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:
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 the
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
3 matches
Mail list logo