O'Reilly logo
  • davidsed thinks this is interesting:

> myEID <- unlist(mget(y, org.Hs.SYMBOL2EG, ifnotfound=NA))

From

Cover of Bioinformatics with R Cookbook

Note

myEID &lt;- unlist(mget(myEIDs, org.Hs.egSYMBOL2EG, ifnotfound=NA))