I have to install AnnotationHub for "Introduction to Bioconductor" class in edx. I'm using R 3.1.3 due to limitations of class. I can install "AnnotationHub" and execute library function for it. But after typing "AnnotationHub()", it ends with error. I have tried it multiple times, tried it via VPN and proxy. I have cleared R memory and even restarted operating system (windows 8.1). The AnnotationHub ends with the same error shortly after executing the command. I can install any R or Bioconductor package through my internet connection. The only problem is with AnnotationHub. Is there any way to fix the error or can anybody zip it's database and tell me to which folders I should copy them?
Error message:
Error in unlist(.metadata(snapshotUrl, columns = "RDataPath")) :
error in evaluating the argument 'x' in selecting a method for function 'unlist': Error: error reading from connection
Hi,
Please include the output of
traceback()
andsessionInfo()
after getting this error.Then we can try to troubleshoot the problem. Another thing to try is, in a fresh R session, before loading AnnotationHub, do
setInternet2(TRUE)
Traceback():
3: unlist(.metadata(snapshotUrl, columns = "RDataPath")) 2: .snapshotPaths(snapshotUrl) 1: AnnotationHub()
sessioninfo()
loaded via a namespace (and not attached): [1] annotate_1.44.0 AnnotationDbi_1.28.2 [3] Biobase_2.26.0 BiocInstaller_1.16.4 [5] Category_2.32.0 colorspace_1.2-6 [7] DBI_0.3.1 digest_0.6.8 [9] genefilter_1.48.1 GenomeInfoDb_1.2.5 [11] GenomicRanges_1.18.4 ggplot2_1.0.1 [13] graph_1.44.1 grid_3.1.3 [15] gridSVG_1.4-3 GSEABase_1.28.0 [17] gtable_0.1.2 htmltools_0.2.6 [19] httpuv_1.3.2 httr_0.6.1 [21] interactiveDisplay_1.4.1 interactiveDisplayBase_1.4.0 [23] lattice_0.20-31 magrittr_1.5 [25] MASS_7.3-40 Matrix_1.2-0 [27] mime_0.3 munsell_0.4.2 [29] plyr_1.8.2 proto_0.3-10 [31] R6_2.0.1 RBGL_1.42.0 [33] Rcpp_0.11.6 reshape2_1.4.1 [35] rjson_0.2.15 RJSONIO_1.3-0 [37] RSQLite_1.0.0 scales_0.2.4 [39] shiny_0.11.1 splines_3.1.3 [41] stringi_0.4-1 stringr_1.0.0 [43] survival_2.38-1 tools_3.1.3 [45] XML_3.98-1.1 xtable_1.7-4 [47] XVector_0.6.0
setInternet2(TRUE) didn't solve the problem.