1

我在平台上使用 R 3.0.1:i486-pc-linux-gnu(32 位)。我正在尝试使用 tm 库中的 tm_map。我的 SmartStopWord 列表中有 4080 个单词。但是当我执行这段代码时:

library(tm)
Get_Corpus <- system.file("texts","MyFile", package = "tm")
(corpus <- Corpus(DirSource(Get_Corpus, encoding = "UTF-8"),readerControl
 = list(language = "lat")))
show(corpus)
corpus <- tm_map(corpus, removeWords, stopwords("SmartStopWord"))

我收到此错误:

Message d'avis :
In parallel::mclapply(x, FUN, ...) :
all scheduled cores encountered errors in user code

有谁知道这个的解决方案?

4

0 回答 0