安装Rstem包的问题

bit*_*ion 1 r

我试图安装"情绪"包,这需要"Rstem"包.但由于以下错误消息,安装过程失败,

install.packages("Rstem")
Installing package(s) into ‘/home/user/R/x86_64-redhat-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘Rstem’ is not available (for R version 2.14.1)
Run Code Online (Sandbox Code Playgroud)

我可以知道如何解决这个问题吗?

Man*_*rma 8

首先尝试通过此命令安装Rstem:

install.packages("Rstem", repos = "http://www.omegahat.org/R")
Run Code Online (Sandbox Code Playgroud)

然后尝试安装情绪.

它适用于ubuntu 12.04


dek*_*iya 6

从以下链接下载RStem源文件:https://cran.r-project.org/src/contrib/Archive/Rstem/

然后将包从下载的源文件安装到R:

install.packages("Rstem_0.4-1.tar.gz" , repos=NULL, type="source")
Run Code Online (Sandbox Code Playgroud)