title: r - read.csv - skip rows with different number of columns
body: <p>There are 5 rows at the top of my csv file which serve as information about the file, which I do not need.</p>
  
  <p>These information rows have only 2 columns, while the headers, and rows of data (from 6 on-wards) have 8. <strong>This appears to be the cause of the issue.</strong></p>
  
  <p>I have tried using the skip function within read.csv to skip these lines, and the same with read.table</p>
  
  <pre><code>df = read.csv("myfile.csv", skip=5)
  df = read.table("myfile.csv", skip=5)
  </code></pre>
  
  <p>but this still gives me the same error message, which is:</p>
  
  <pre><code>Error in read.table("myfile.csv",  :empty beginning of file
  </code></pre>
  
  <p>In addition: Warning messages:</p>
  
  <pre><code>1: In readLines(file, skip) : line 1 appears to contain an embedded nul
  2: In readLines(file, skip) : line 2 appears to contain an embedded nul
  ...
  5: In readLines(file, skip) : line 5 appears to contain an embedded nul
  </code></pre>
  
  <p>How can I get this .csv to be read into r without the null values in the first 5 rows causing this issue?</p>