You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chapter 6 I am at the part where I am supposed to be executing
dtm <- DocumentTermMatrix(corpus)
However it fails out with the following error:
Error in UseMethod("meta", x) :
no applicable method for 'meta' applied to an object of class "try-error"
In addition: Warning message:
In mclapply(unname(content(x)), termFreq, control) :
all scheduled cores encountered errors in user code
StackOverflow suggested installing SnowballC and also trying
corpus <- tm_map(corpus, content_transformer(tolower), lazy = TRUE)
Neither of these solutions worked and I am thus flummoxed.
Here is my session info:
R version 3.1.2 (2014-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] glmnet_1.9-8 Matrix_1.1-4 mgcv_1.8-4 nlme_3.1-118 plyr_1.8.1 ggplot2_1.0.0 tm_0.6 NLP_0.1-5
loaded via a namespace (and not attached):
[1] colorspace_1.2-4 digest_0.6.8 grid_3.1.2 gtable_0.1.2 labeling_0.3 lattice_0.20-29 MASS_7.3-35 munsell_0.4.2 parallel_3.1.2 proto_0.3-10
[11] Rcpp_0.11.3 reshape2_1.4.1 scales_0.2.4 slam_0.1-32 stringr_0.6.2 tools_3.1.2
The text was updated successfully, but these errors were encountered:
In chapter 6 I am at the part where I am supposed to be executing
However it fails out with the following error:
StackOverflow suggested installing SnowballC and also trying
corpus <- tm_map(corpus, content_transformer(tolower), lazy = TRUE)
Neither of these solutions worked and I am thus flummoxed.
Here is my session info:
The text was updated successfully, but these errors were encountered: