Hi List

I have the next code and the error. I have try with other codes and I have
the same problem.

> reut21578 <- system.file("texts", "crude", package = "tm")
> (r <- Corpus(DirSource(reut21578), readerControl = list(reader =
> readReut21578XMLasPlain)))
A corpus with 20 text documents


> (r <- Corpus(DirSource(reut21578), readerControl = list(reader =
> readReut21578XMLasPlain)))> > 
> summary(r)
A corpus with 20 text documents

The metadata consists of 2 tag-value pairs and a data frame
Available tags are:
  create_date creator 
Available variables in the data frame are:
  MetaID 
> rec.matrix <- TermDocMatrix(r) 
Error: no se pudo encontrar la funciĆ³n "TermDocMatrix"

Error: could not find function "TermDocMatrix". 


Thanks 



-- 
View this message in context: 
http://r.789695.n4.nabble.com/Library-tm-Error-could-not-find-function-TermDocMatrix-tp2062464p2062464.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to