1

I was trying to install the AER package and quantreg is a dependency, I get the following warning and AER is not installed:

Warning in install.packages :
   URL 'https://cran.rstudio.com/src/contrib/quantreg_5.24.tar.gz': status was '404 Not Found'

Then I tried to install quantreg and got the same error.

I looked at the URL, and saw that the newest version is quantreg_5.26. Can I somehow install this version from Rstudio, or does the AER package require the older version? How should I proceed?

I have R version 3.3.0.

Gumeo
  • 891
  • 1
  • 13
  • 26
  • [This post](http://stackoverflow.com/questions/25721884) has many suggestions for package installation issues, maybe useful. – zx8754 Jun 09 '16 at 18:50
  • @zx8754 Thanks for the suggestion, but it does not cover my problem. I ended up turning off Rstudio and then turning it on again. The R distribution managed by the local IT department had been upgraded, and that seemed to be the issue. – Gumeo Jun 10 '16 at 11:37

1 Answers1

2

Sometimes it helps to install the dependency first (quantreg), then install the package you really want (AER).

FWIW, I'm on linux mint, and when I just installed AER it didn't even install quantreg at all... (granted, I'm not trying to use AER, so I don't mind...)

brian avery
  • 403
  • 2
  • 8