Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have to use a specific program in R 3.1.3

For that purpose whenever I am trying to install any package it is throwing error

unable to access index for repository http://cran.r-project.org/bin/windows/contrib/3.1

Apparently, it seems the directories in the repos are available from version 3.2 onwards. Here, I am trying to install shiny package.

Hw to resolve this problem?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
146 views
Welcome To Ask or Share your Answers For Others

1 Answer

Per the README at https://cran.r-project.org/bin/windows/contrib/ReadMe :

Packages for R >= 1.7.0 and R < 3.2.0 are available from https://cran-archive.r-project.org/bin/windows/contrib/

So you can try downloading from that site. Note that install.packages may not work as it doesn't seem to have the structure of a regular CRAN mirror, but since you're on Windows you should be able to download the zip files and unzip them into your package directory.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...