title: ROracle bind range of dates
body: <p>I want to send to oracle via ROracle query with bind parameters which inculde range of dates for a date column.</p>
  
  <p>I try to run :</p>
  
  <pre><code>idsample &lt;- 123
  strdate &lt;- "TO_DATE('01/02/2017','DD/MM/YYYY')"
  enddate &lt;- "TO_DATE('01/05/2017','DD/MM/YYYY')"
  
  res &lt;- dbGetQuery(myconn,"SELECT * FROM MYTABLE WHERE MYID = :1 AND MYDATE BETWEEN :2 AND :3", data=data.frame(MYID =idsample , MYDATE=c(strdate,enddate )))
  </code></pre>
  
  <p>but I get error :</p>
  
  <p>"bind data does not match bind specification"</p>