title: How do I create an empty vector of dates?
body: <p>Is it possible to create an empty vector of dates in r?</p>
  
  <p>I can create an empty vector of integers, doubles, logicals etc:</p>
  
  <pre><code>&gt; integer()
  integer(0)
  &gt; double()
  numeric(0)
  &gt; logical()
  logical(0)
  &gt; length(integer())
  [1] 0
  </code></pre>
  
  <p>but this meme doesn't work for dates, as <code>date()</code> returns the current system date and time. So, how would I create an emtpy vector of dates?</p>