dependency ‘slam’ is not available when installing TM package

前端 未结 12 1121
盖世英雄少女心
盖世英雄少女心 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:30

    I found a hint at this german site about R under Install additional R packages ("Zusätzliche R-Pakete installieren") After I installed slam seperatly over apt-get for example:

    sudo apt-get install r-cran-slam
    

    I could install tm the normal way:

    install.packages('tm')
    

    And load the library aswell.

    I hope my answer helps someone.

提交回复
热议问题