在Mac中加载RTextTools库时出错

时间:2017-04-18 03:43:35

标签: r macos rstudio

在Mac中加载RTextTools库时出错,但这适用于Windows PC。

这是错误:

library(RTextTools)  #  For removeSparseTerms()
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘lava’
Error: package or namespace load failed for ‘RTextTools’

我尝试过安装RTextTools:

install.packages("RTextTools")

install.packages("RTextTools", repos="http://cran.rstudio.com/", 
                 dependencies=TRUE)

install.packages("RTextTools", repos=c("http://rstudio.org/_packages", 
                 "http://cran.rstudio.com"))

0 个答案:

没有答案