title: Importing a .csv with headers that show up as first row of data
body: <p>I'm importing a csv file into R. I read a post here that said in order to get R to treat the first row of data as headers I needed to include the call <code>header=TRUE</code>. </p>
  
  <p>I'm using the import function for RStudio and there is a Code Preview section in the bottom right. The default is:</p>
  
  <pre><code>library(readr)
  existing_data &lt;- read_csv("C:/Users/rruch/OneDrive/existing_data.csv")
  View(existing_data)
  </code></pre>
  
  <p>I've tried placing <code>header=TRUE</code> in the following places:</p>
  
  <ul>
  <li><code>read_csv(header=TRUE, "C:/Users...)</code></li>
  <li><code>existing_data.csv", header=TRUE</code></li>
  <li>after 2/existing_data.csv")</li>
  </ul>
  
  <p>Would anyone be able to point me in the right direction?</p>
  
  <p><img src="https://i.stack.imgur.com/H2Yb1.png" alt="screenshot"></p>