I get a scan error if I use the version option in biomaRt while running latest R version 3.4.2.
ensembl <- useEnsembl(biomart="ensembl", dataset="hsapiens_gene_ensembl", version=90) ensembl@host [1] "http://e90.ensembl.org:80/biomart/martservice" getBM(attributes=c('ensembl_gene_id','external_gene_name', 'gene_biotype'), filter="ensembl_gene_id", values="ENSG00000000003", mart = ensembl) Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 1 did not have 3 elements
BiomaRt queries without the version work fine
ensembl <- useEnsembl(biomart="ensembl", dataset="hsapiens_gene_ensembl") ensembl@host [1] "http://www.ensembl.org:80/biomart/martservice" getBM(attributes=c('ensembl_gene_id','external_gene_name', 'gene_biotype'), filter="ensembl_gene_id", values="ENSG00000000003", mart = ensembl) ensembl_gene_id external_gene_name gene_biotype 1 ENSG00000000003 TSPAN6 protein_coding
I'm adding this extra sentence since submitting returns the message Language fr is not one of the supported language. That did not work either, so I'm adding one more sentence.
I am running biomaRt version 2.35.11 and I get a scan error when I try to access the most current version of a dataset. Removing the version solves this, but is it possible to indicate the latest version (91) so that running the code in the future will always access this dataset?
I am having the same issue....have anyone come up with a solution?
I replied to this in C: biomaRt scan error for latest assembly when indicating version Number
Can you make sure you're using biomaRt version 2.35.12 or newer.
If that doesn't fix the issue please start a new question with a example of the code you're trying to run, plus the output of
sessionInfo()
so I can see what versions of R & biomaRt you're using.