-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
For all, whom it may concern - I found the solution what to do, if your R is writing something like:
> BiocManager::install(version="3.14")
Error: Bioconductor version cannot be validated; no internet connection?
In addition: Warning messages:
1: In file(con, "r") :
InternetOpenUrl failed: 'A connection with the server could not be established'
2: In file(con, "r") :
InternetOpenUrl failed: 'A connection with the server could not be established'
or (to check Internet connectivity):
> config <- "https://bioconductor.org/config.yaml"
> readLines(config)
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
InternetOpenUrl failed: 'A connection with the server could not be established'
whereas install.packages working correctly. The solution is:
- Put to your .Renviron string
CURL_SSL_BACKEND=openssl
- Put to your .Rprofile string
options(download.file.method="libcurl", url.method="libcurl")
and restart R.
All should be working now!
Metadata
Metadata
Assignees
Labels
No labels