title: not a Stata version 5-12 .dta file
body: <p>I am trying to use existed data in my pc which is <code>.dta</code> file. </p>
  
  <p>I'm trying to open it in R using the following command:</p>
  
  <pre><code>mydata&lt;-read.dta(file="C:\\Users\\me\\Desktop\\data_raw.dta")
  </code></pre>
  
  <p>But there is this error </p>
  
  <pre><code>&gt;&gt; not a Stata version 5-12 .dta file 
  </code></pre>
  
  <p>Any help will be appreciated. Thanks. </p>