title: Not able to convert date format in R Language
body: <p>I am trying to convert into date in the R Language then i have getting NA. Tried setting up the LOCALE but still issue. Please advise. Here is the snapshot of what i am trying to do :</p>
  
  <pre><code>## Stored the date into X**
  x &lt;- c("2014-12-01", "2014-12-15", "2014-12-20", "2014-12-25")
  
  ## Tring to convert the date in the format dd-MMM-YYYY BUT GETTING error**
  as.Date(x,"%d-%B-%y")
  [1] NA NA NA NA
  
  ## Tried setting the LOCALE. See the current locale below**
  Sys.getlocale("LC_TIME");
  [1] "English_United States.1252"
  </code></pre>