Couldn't access any CRAN mirror to install shiny

4,686 views
Skip to first unread message

venkat sainath

unread,
Nov 15, 2012, 12:17:53 AM11/15/12
to shiny-...@googlegroups.com
It says the following when I tried to install it

Warning: unable to access index for repository http://rstudio.org/_packages/bin/windows/contrib/2.12
Warning: unable to access index for repository http://cran.stat.nus.edu.sg/bin/windows/contrib/2.12
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12
Warning messages:
1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org'
2: In getDependencies(pkgs, dependencies, available, lib) :
  package ‘shiny’ is not available

Could someone help me solve this.. Thanks in advance.

Joe Cheng

unread,
Nov 15, 2012, 1:38:41 AM11/15/12
to shiny-...@googlegroups.com
Hi Venkat, Shiny requires R 2.15. If you upgrade it should work. 

Sent from my phone

--
 
 

venkat sainath

unread,
Nov 20, 2012, 6:11:23 AM11/20/12
to shiny-...@googlegroups.com
Hi Joe,

I've installed 2.15.1. But it still shows the error, like this
Warning: unable to access index for repository http://rstudio.org/_packages/bin/windows/contrib/2.15
Warning: unable to access index for repository http://mirrors.nics.utk.edu/cran/bin/windows/contrib/2.15
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.15

Warning messages:
1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org'
2: package ‘shiny’ is not available (for R version 2.15.1)

Is RStudio required? I'm currently running it in R console.Sorry if I'm missing basics. I'm very much new to R.

Ziyuan Lin

unread,
Nov 20, 2012, 6:42:42 AM11/20/12
to shiny-...@googlegroups.com
Hi Venkat,

Have you followed the installation guide on the Shiny page?

options(repos=c(RStudio='http://rstudio.org/_packages', getOption('repos')))
install.packages('shiny')

venkat sainath

unread,
Nov 20, 2012, 7:07:33 AM11/20/12
to shiny-...@googlegroups.com
Hello Ziyuan,

Yes, I've pasted the commands in the R console and selected mirrors from two or three countries.The message is the same..Could not access the index.. Could it be because of proxy issues?

Joe Cheng

unread,
Nov 20, 2012, 7:18:47 AM11/20/12
to shiny-...@googlegroups.com, shiny-...@googlegroups.com

Elias Tsolis

unread,
Jul 19, 2019, 3:34:06 AM7/19/19
to Shiny - Web Framework for R
Hello venkat,

I had a similar problem.
I was checking the internet all over and I could not find a solution. 
What was found that, In Linux, the installation of R-base was broken. 
So I updated its installation. 

Sincerely,
Elias Tsolis
Reply all
Reply to author
Forward
0 new messages