Rafael Lima
Rafael Lima

Reputation: 420

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

I am trying to install the Rstem package, but I am getting the message that there is no version available for the version of R 3.5.1. I'm using the macOs El Captain.

The error is:

> 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'

I already tried the suggested options in this link issues in installing Rstem package and also downloading the package locally from the official website Rstem Package, but the result is also unsatisfactory.

I'm studying how to do an sentiment analysis with Twitter data. I would like to know if there is any alternative to this package or if there is any trick to install it.

Upvotes: 1

Views: 2197

Answers (2)

Amol Modi
Amol Modi

Reputation: 311

RStem package has been removed from the CRAN repository. You can download using the following command:-

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

Make sure you have RTools installed on your machine. You can download it from this link -

Building R for Windows

Upvotes: 2

Siddharth-Soni
Siddharth-Soni

Reputation: 120

RStem is now provided by OmegaHat. Try the command below:

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

Upvotes: -1

Related Questions