Search code examples
rannotationsdata-sciencegenome

AnnotationHub Resource | Failed to load Resource | Download Issue in R


When I run Command ah[[1]] I faced the following Problem:

retrieving 1 resource Error: failed to load resource name: AH5087 title: ORegAnno reason: 1 resources failed to download In addition: Warning messages: 1: download failed web resource path: ‘https://annotationhub.bioconductor.org/fetch/5087’ local file path: ‘/home/hafizahmad/.cache/AnnotationHub/bf61af04785_5087’ reason: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number 2: bfcadd() failed; resource removed rid: BFC8 fpath: ‘https://annotationhub.bioconductor.org/fetch/5087’ reason: download failed 3: download failed hub path: ‘https://annotationhub.bioconductor.org/fetch/5087’ cache resource: ‘AH5087 : 5087’ reason: bfcadd() failed; see warnings() .

I described the solution of problem is described below in answer: downloading 1 resources


Solution

  • just write ah[[2,force=TRUE]] instead of ah[[2]]