R program (bioconductor)
2
0
Entering edit mode
9.7 years ago
bioinfo ▴ 60

Hi

While I was connecting the bioconductor packages I got an error

source ("http://www.bioconductor.org/biocLite.R")
Error in file(filename, "r", encoding = encoding) :
  cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  unable to connect to 'www.bioconductor.org' on port 80.

Any suggestion how to rectify it?

R • 4.6k views
ADD COMMENT
3
Entering edit mode
9.7 years ago

"unable to connect to 'www.bioconductor.org' on port 80." means that R can't connect to the bioconductor website. This is a networking issue that only your local IT can solve. I should note that a "common" cause of this is running R scripts on cluster nodes that are firewalled from the internet.

ADD COMMENT
2
Entering edit mode

It may also be R-specific, especially on Windows. See setInternet2() and section 2.19 of the R for Windows FAQ.

ADD REPLY
1
Entering edit mode
9.7 years ago
alesssia ▴ 580

Try:

source("http://bioconductor.org/biocLite.R")
ADD COMMENT

Login before adding your answer.

Traffic: 1931 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6