This is a test version of Biostars. For the public version, visit https://www.biostars.org.
R program (bioconductor)

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

2 answers

"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.

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

Try:

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

Log in to answer this question.