Hi, I am trying to install some packages but I keep getting this error, also I can't open the https://bioconductor.org/config.yaml. I would appreciate your help
The code should be placed in three backticks as shown below
BiocManager::install("DESeq2")
Error: Bioconductor version cannot be validated; no internet connection? See #troubleshooting section in vignette# please also include the results of running the following in an R session
sessionInfo( ) R version 4.3.1 (2023-06-16 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 11 x64 (build 22621)
Matrix products: default
locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 [4] LC_NUMERIC=C LC_TIME=English_United States.utf8
time zone: Europe/Berlin tzcode source: internal
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] BiocManager_1.30.21 compiler_4.3.1 tools_4.3.1
```
Hello, I encountered the same error. Can you find a solution for this?
R version 4.3.1 (2023-06-16 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
time zone: Asia/Tehran tzcode source: internal
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] BiocManager_1.30.21.1 compiler_4.3.1 tools_4.3.1
Warning message: R graphics engine version 16 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
Bioconductor version cannot be validated; no internet connection? See #troubleshooting section in vignette Warning messages: 1: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error' 2: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
Error: Bioconductor version cannot be validated; no internet connection? See #troubleshooting section in vignette
config <- readLines("https://bioconductor.org/config.yaml")
Error in file(con, "r") : cannot open the connection to 'https://bioconductor.org/config.yaml' In addition: Warning message: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
Hi James, I can open the YAML file using a browser, no problem with that. But I am facing the problem below. I would appreciate any help.
Error: Bioconductor version cannot be validated; no internet connection?
In addition: Warning messages:
1: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
2: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
Does it help if you do this first (within R)?
Thanks. I did as you suggested. I am still having the same problem.
I am not under a proxy and I can install other packages without any problems.
I have the same problem with different R versions (4.3.2 and older ones).
I am running this on Windows 7, maybe that's the cause?
Any ideas?
What do you get from
I get:
Error in file(con, "r") : cannot open the connection to 'https://bioconductor.org/config.yaml'
In addition: Warning message: In file(con, "r") : URL 'https://bioconductor.org/config.yaml': status was 'SSL connect error'
Can you get to that link using a browser?
Yes, I can.
Well, I don't know. It's always worked for me, so it's hard to diagnose. This might be of use however (from
?download.file
)And I get
OK, thanks anyway. This is what I get: