Hi all,
I just started playing with AnnotationHub and running into some problems.
I downloaded the package and updated the recommended ones and started to follow the manual.
> library(AnnotationHub) Loading required package: IRanges Loading required package: BiocGenerics Loading required package: parallel ......... > ah <- AnnotationHub() updating metadata from server... > ah class: AnnotationHub length: 10780 filters: none hubUrl: http://annotationhub.bioconductor.org/ah snapshotVersion: 2.14/1.4.0; snapshotDate: 2014-05-15 hubCache: /Users/madejung/.AnnotationHub
So there seems to be no (not much) data inside the hub object. Also the ah$dataprovider
does not exist.
> str(ah) Formal class 'AnnotationHub' [package "AnnotationHub"] with 6 slots ..@ hubUrl : chr "http://annotationhub.bioconductor.org/ah" ..@ hubCache : chr "/Users/madejung/.AnnotationHub" ..@ snapshotVersion: chr "2.14/1.4.0" ..@ snapshotDate : POSIXlt[1:1], format: "2014-05-15" ..@ snapshotPaths : Named chr [1:10780] "ensembl/release-69/fasta/ailuropoda_melanoleuca/pep/Ailuropoda_melanoleuca.ailMel1.69.pep.all.fa.rz" "ensembl/release-69/fasta/anolis_carolinensis/cdna/Anolis_carolinensis.AnoCar2.0.69.cdna.all.fa.rz" "ensembl/release-69/fasta/anolis_carolinensis/pep/Anolis_carolinensis.AnoCar2.0.69.pep.all.fa.rz" "ensembl/release-69/fasta/bos_taurus/cdna/Bos_taurus.UMD3.1.69.cdna.all.fa.rz" ... .. ..- attr(*, "names")= chr [1:10780] "ensembl.release.69.fasta.ailuropoda_melanoleuca.pep.Ailuropoda_melanoleuca.ailMel1.69.pep.all.fa.rz" "ensembl.release.69.fasta.anolis_carolinensis.cdna.Anolis_carolinensis.AnoCar2.0.69.cdna.all.fa.rz" "ensembl.release.69.fasta.anolis_carolinensis.pep.Anolis_carolinensis.AnoCar2.0.69.pep.all.fa.rz" "ensembl.release.69.fasta.bos_taurus.cdna.Bos_taurus.UMD3.1.69.cdna.all.fa.rz" ... ..@ filters : list() >
Any suggestion why this happens or what I can do?
Are you running the commands within the RStudio console? What happens if you try the same thing in a normal R console?
Hi Keith, I was running within RStudio. Testes outside and it worked without problems. Thanks for the hint, but I have no idea how to fix this. :-)