I was trying to install bioconductor in R version 3.5.1 and faced the following problem while running biocLite()
package ‘foreign’ successfully unpacked and MD5 sums checked
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 3059712 != reported length 4618652
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'survival/DESCRIPTION', probable reason 'No such file or directory'
How can I solve this problem, I have already tried to run Rstudio as an administrator, still it didn't worked.
Thanks, Santosh