rstudio编码出错

时间:2017-03-16 16:41:12

标签: rstudio corpus

我在Rstudio中运行语料库,它运行第一行和第二行编码,但在第三行生成错误。

s<- Corpus(DirSource("C:/Users/mazhar/Documents/Sindhicorpus", pattern = "*.txt")
           Word <- wordcloud(words = names(term.freq), 
                             freq = term.freq, min.freq = 1, random.order = F, colors = brewer.pal(8, "Dark2"))

错误是

Error: unexpected ',' in "freq = term.freq,"

0 个答案:

没有答案