library("biomaRt") ensembl = useMart("ensembl",dataset="hsapiens_gene_ensembl") getBM(attributes='hgnc_symbol', filters = 'ensembl_gene_id', values = ensemblsIDS, mart = ensembl)