Hi,
I am working on an application which should allow users to upload data and then do some textual analysis thereof.
Here is what I want to achieve:
1. Allow users to upload text dataset using any from the list provided, or from their local space.
2. Perform pre-processing of the dataset.
3. To generate features from the dataset.
...
But I face errors in 2) and 3). The errors are such that:
i. Sometimes they occur, sometimes do not occur (though it appears to me the error occurs more often when a large dataset is used. For example, I have 3 datasets - UAE Expat forum, UAE TripAdvisor, and Middle East Politics Forum - and the error occurs more often with the Middle East Politics forum dataset).
ii. Sometimes no error is sent to the Javascript console, sometimes the following
Listening on port 59669
Read 2230 items
Warning in parallel::mclapply(x, FUN, ...) :
all scheduled cores encountered errors in user code
Warning in parallel::mclapply(x, FUN, ...) :
all scheduled cores encountered errors in user code
The above occurs when the pre-processing phase fails and the application exits unexpectedly.
Warning in parallel::mclapply(x, FUN, ...) :
all scheduled cores encountered errors in user code
Warning in parallel::mclapply(x, FUN, ...) :
all scheduled cores encountered errors in user code
Warning in parallel::mclapply(x, termFreq, control) :
all scheduled cores encountered errors in user code
Warning in is.na(x) :
is.na() applied to non-(list or vector) of type 'NULL'
Warning in TermDocumentMatrix.VCorpus(preprocessedCorpus(), control = list(weighting = function(x) weightSMART(x, :
invalid document identifiers
Warning in simple_triplet_matrix(i = i, j = j, v = as.numeric(v), nrow = length(allTerms), :
NAs introduced by coercion
Error in simple_triplet_matrix(i = i, j = j, v = as.numeric(v), nrow = length(allTerms), :
'i, j, v' different lengths
Error in simple_triplet_matrix(i = i, j = j, v = as.numeric(v), nrow = length(allTerms), :
'i, j, v' different lengths