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
- Put to your .Rprofile string
options(download.file.method="libcurl", url.method="libcurl")
and restart R.
All should be working now!
For all, whom it may concern - I found the solution what to do, if your R is writing something like:
or (to check Internet connectivity):
whereas install.packages working correctly. The solution is:
and restart R.
All should be working now!