Use biomaRt to tranlate HUGO to Entrez gene Ids.
We can use the R package biomaRt to conveniently convert between different types of gene ids. In this example we will convert official HUGO gene names to entrez gene ids.
First we load biomaRt in R using the current ensembl database for human:
library(biomaRt)
ensembl