title: import data from bloomberg to r
body: <p>I am trying to import historical data from Bloomberg to R for a specific field &amp; list of securities. I created list of securities in bloomberg EQS function. What function should I use in R to put list of securities? (I have 3000 securities)</p>
  
  <pre><code>library("Rblpapi")
  bdh(securities, fields, start.date, end.date=NULL, include.non.trading.days=FALSE, 
      options=NULL, overrides=NULL,  verbose=FALSE, identity=NULL, con=defaultConnection(),  
      int.as.double=getOption("blpIntAsDouble", FALSE))
  </code></pre>