Le vendredi 16 ao?t 2013 ? 19:35 -0700, Ajinkya Kale a ?crit
:> I am trying to use the text mining package ... I keep getting this error :
>
> rm(list=ls())
> library(tm)
> sourceDir <- "Z:\\projectk_viz\\docs_to_index"
> ovid <- Corpus(DirSource(sourceDir),readerControl = list(language =
"lat"))
>
> Error in if (vectorized && (length <= 0)) stop("vectorized
sources must
> have positive length") : missing value where TRUE/FALSE needed
>
> I am not sure what it means.
The posting guide asks for a reproducible example. If you cannot make
available to us the contents of sourceDir, at least you should tell us
what kind of files it contains. Have you tried with only some of the
files the directory contains ?
Regards
> --ajinkya
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.