error in installing bioconductor
2
1
Entering edit mode
@farahqureshi5-12184
Last seen 6.6 years ago

greetings!!

source("https://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) :
  InternetOpenUrl failed: 'A connection with the server could not be established'

how to debug the error. when i have already many times used the bioconductor packages. 

installation • 1.7k views
ADD COMMENT
0
Entering edit mode

The same command is working for me the moment I write this, so the problem is on your side, and not with the Bioconductor servers. So check again, check whether you can browse the internet at all, restart your PC, etc....

ADD REPLY
0
Entering edit mode

Does the link open in a browser? Experiment with different values for download.file argument 'method', e.g., options(download.file.method="libcurl").

ADD REPLY
0
Entering edit mode
@farahqureshi5-12184
Last seen 6.6 years ago

is there any way, so that i can include the package from library once and use it again and again

ADD COMMENT
0
Entering edit mode

The biocLite() function is in the BiocInstaller package. Once BiocInstaller is installed you can either call library(BiocInstaller) in an R session or put library(BiocInstaller) in your .Rprofile to automatically load the package (which makes biocLite() available) when you start R.

Valerie

ADD REPLY
0
Entering edit mode
b.nota ▴ 360
@bnota-7379
Last seen 3.6 years ago
Netherlands

Did you try http instead of https?

ADD COMMENT

Login before adding your answer.

Traffic: 449 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