Entering edit mode
hasmikmd
▴
10
@hasmikmd-23611
Last seen 5.5 years ago
Used the code below for installation, but keep getting this error
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install()
Error: Bioconductor version cannot be validated; no internet connection?
How can this problem can be resolved?

Hi, I'm getting the same error when trying to install a package Error: Bioconductor version cannot be validated; no internet connection? 1: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'Couldn't connect to server' 2: In file(con, "r") : URL 'http://bioconductor.org/config.yaml': status was 'Failure when receiving data from the peer' I'm working behind a proxy, but I didn't had problems installing packages until now. I don't know what can be going wrong. I'm working in VirtualBox with Ubuntu 20.04 distribution, no problems installing R packages in Windows. Any idea?
Do the links work in an internet browser like chrome?
Yes, they work fine
And to be clear, does
work? (or with
http://)? If not, then it is definitely a proxy issue, but I am not sure how to tackle this other than pointing to the guidance on?download.file. Sorry not to be more helpful.No, it cannot open the connection. Anyway, thanks for your help. I'll post the answer when I fix it.
hi, have you fix this problem? I have also met this problem. Thank you very much.