I have recently started using "tm" package by Feinerer, K. Hornik, and D.
Meyer.
While trying to create a term-document matrix from a corpus (approxly 440
docs)
I get the following error:

tdm <- TermDocumentMatrix(tmp, control=list(weighting=weightTfIdf,
minDocFreq=2, minWordLength=3))
*Error in rowSums(m > 0) : 'x' must be an array of at least two dimensions*

This error appears for option weighting=weightTfIdf and not for
weighting=weightTf
As Idf would need division by df, is this anything to do with nature of my
data?
May be I am doing something silly. Can any one please help?

	[[alternative HTML version deleted]]

