dependency ‘slam’ is not available when installing TM package

前端 未结 12 1123
盖世英雄少女心
盖世英雄少女心 2020-12-05 05:02

I was able to use the library(tm) in r without problem until today, when loading tm shows:

library(tm)
12条回答
  •  伪装坚强ぢ
    2020-12-05 05:27

    I am using R3.2.5. I was trying to install "tm". I did install NLP as a dependency but gave me an error :

    "package ‘slam’ is not available (for R version 3.2.5)"

    The option I had to was to download the zip/tar/gz file(binaries) from https://cran.r-project.org/web/packages/slam/index.html and install the package. It worked for me after that. Although I am not sure what the problem is because the library information mentions it is for R (≥ 3.3.1)

提交回复
热议问题