Hi,
I am trying to install the library RBGL. I followed the instructions on http://www.bioconductor.org/packages/release/bioc/html/RBGL.html.
Here is my R console output
source("https://bioconductor.org/biocLite.R")
Bioconductor version 3.0 (BiocInstaller 1.16.5), ?biocLite for help
A new version of Bioconductor is available after installing the most recent version of R; see http://bioconductor.org/install
> biocLite("RBGL")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.0 (BiocInstaller 1.16.5), R version 3.1.0.
Installing package(s) 'RBGL'
trying URL 'http://bioconductor.org/packages/3.0/bioc/bin/windows/contrib/3.1/RBGL_1.42.0.zip'
Content type 'application/zip' length 3132860 bytes (3.0 Mb)
opened URL
downloaded 2.5 Mb
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 2610324 != reported length 3132860
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 'RBGL/DESCRIPTION', probable reason 'No such file or directory'
>
If anybody knows the solution for this could you please let me know.
Thanks,
Chris.
First of all, I am really surprised that the line
worked for you in R-3.1.0. Support for https in source() and related commands was just added recently; when I tried it in R-3.1.0 it failed. Do you have a non-default setting for the
download.file.method
option? What is the result of?
Secondly, I can't reproduce this problem. Does just trying the biocLite() command again fix the problem?
Sometimes errors like this indicate that you are behind a restrictive firewall or proxy. Do you know if that is the case?
You might try setting the
download.file.method
option to different values (get the possible values from the relevant section of?options
) and then trying the biocLite() command again.