title: Looping over dates with R
body: <p>I need to write some code in R that builds a string by looping over dates and I cant' seem to find an example of this in my books or by Googling. Basically:</p>
  
  <pre><code>for theDate = 1Jan14 to 31Dec14{
   "http://website.com/api/" + theDate
  } 
  </code></pre>
  
  <p>I thought about creating an input file that held the dates, but that seems inelegant.Does anybody know of a better solution?</p>