vidyarthi
vidyarthi

Reputation: 183

Unable to install tm package in R-Studio even though dependencies are set to TRUE

I have looked at answers here before, but when I tried them, all of them failed. I want to install tm package from R. I tried:

install.packages("tm", dependencies=TRUE)

but the output always was:

Warning messages:
1: In install.packages("tm", dependencies = TRUE) :
  installation of package ‘Rpoppler’ had non-zero exit status
2: In install.packages("tm", dependencies = TRUE) :
  installation of package ‘tm’ had non-zero exit status

Any hints?

Upvotes: 1

Views: 1299

Answers (2)

addicted
addicted

Reputation: 3051

Are you installing in UNIX?

Can you try to download the package from : (I tried and I manage to download it)

https://cran.r-project.org/web/packages/Rpoppler/index.html

Then try to install the tar.gz file offline? (ie. Tools -> Install Packages)

Upvotes: 2

lebelinoz
lebelinoz

Reputation: 5068

It's a problem with that Rpoppler package. Here's the error I get when I try to install it:

> install.packages("Rpoppler")
Installing package into ‘C:/Users/alebel/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘Rpoppler’ is not available (for R version 3.4.1)

Sorry if that's not the answer you were hoping for.

Upvotes: 1

Related Questions