我正在使用tm和tm.plugin.webmining包來嘗試閱讀一些Goggle新聞並對它們進行一些基本分析。然而,我在一開始就面臨着一個問題:R錯誤GoogleNewsSource繼承(x,「Source」)不是TRUE
googleNewsCorpus <- Corpus (GoogleNewsSource("Google"))
我得到以下錯誤:
Error: inherits(x, "Source") is not TRUE
請幫助。我正在使用R版本3.1,R Studio版本0.98.1091,tm版本0.6和tm.plugin.webmining版本1.2.2。