title: Selecting Date Range from Column in R
body: <p>I have a dataset in R which I read in using read.table (Table Name a) . I want to select dates from '2007-02-01' to '2007-02-02'. The Current Date Column is of class "Character".</p>
  
  <pre><code>     Date     
  1 16/12/2006               
  2 16/12/2006            
  3 16/12/2006             
  4 16/12/2006            
  5 16/12/2006              
  6 16/12/2006             
  </code></pre>
  
  <p>I tried the following:<br>
  1. as.Date(a$Date) returns date in the format "0016-12-20"<br>
  2. a[a$Date >= '2007-02-01' &amp; a$Date &lt;= '2007-02-01'] returns all rows with 0 variables<br>
  3. strptime(a$Date,'%d%b%Y') returns NA values </p>