Displaying 2 results from an estimated 2 matches for "auditexplain".
2008 Mar 25
0
Error "... x must be atomic" when using lsa (latent semantic analysis) package
...use the "lsa" (latent semantic analysis) package, and running
into a problem that seems to be related to the number of documents being
processed. Here's the code I'm running (after loading the lsa and rstem
packages), and the error message:
> SnippetsPath <- "c:\\OED\\AuditExplain\\" # path where to find text
snippets
> data(stopwords_en)
> tdm <- textmatrix(SnippetsPath, stopwords=stopwords_en)
I get this error message with ~ 280 documents: "Error in sort(
unique.default(x), na.last = TRUE) : 'x' must be atomic"
The error won't occur...
2008 Mar 25
0
Solution to: Error "... x must be atomic" when using lsa (latent semantic analysis) package
...use the "lsa" (latent semantic analysis) package, and running
into a problem that seems to be related to the number of documents being
processed. Here's the code I'm running (after loading the lsa and rstem
packages), and the error message:
> SnippetsPath <- "c:\\OED\\AuditExplain\\" # path where to find text
snippets
> data(stopwords_en)
> tdm <- textmatrix(SnippetsPath, stopwords=stopwords_en)
I get this error message with ~ 280 documents: "Error in sort(
unique.default(x), na.last = TRUE) : 'x' must be atomic"
The error won't occur...