软件包“Rstem”不可用(对于 R 版本 3.5.1)

Package ‘Rstem’ is not available (for R version 3.5.1)

我正在尝试安装 Rstem package,但我收到的消息是 R 3.5.1 的版本没有可用的版本。我正在使用 macOs El Captain.

错误是:

> install.packages('Rstem', repos = 'https://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz')
Installing package into ‘/Users/ls_rafael/Library/R/3.5/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository https://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz/src/contrib:
  cannot open URL 'https://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘Rstem’ is not available (for R version 3.5.1)
Warning in install.packages :
  unable to access index for repository https://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz/bin/macosx/el-capitan/contrib/3.5:
  cannot open URL 'https://cran.r-project.org/src/contrib/Archive/Rstem/Rstem_0.4-1.tar.gz/bin/macosx/el-capitan/contrib/3.5/PACKAGES'

我已经尝试了link issues in installing Rstem package and also downloading the package locally from the official website Rstem Package中建议的选项,但结果也不尽如人意。

我正在研究如何使用 Twitter 数据进行 sentiment analysis。我想知道这个包是否有任何替代品,或者是否有任何 trick 可以安装它。

RStem 现在由 OmegaHat 提供。 试试下面的命令:

install.packages("Rstem", repos = "http://www.omegahat.net/R", type = "source")

RSem 包已从 CRAN 存储库中删除。您可以使用以下命令下载:-

install.packages('Rstem', repos = "http://www.omegahat.net/R")

确保您的计算机上安装了 RTools。你可以从这里下载它 link -

Building R for Windows