R - Read.csv importing incorrectly due to column names missing
<p>I have a CSV file that's missing column names. The CSV file has 16 columns, but only 9 columns have column names and the rest do not. Additionally, the 7 columns without column names also do not have any data in the first 8 rows. </p>

<p>When i use read.csv(my_file), R loads a dataframe with only 9 columns. It takes the other 7 columns and puts them at the bottom of 7 of the 9 first columns, which is a pain. Any thoughts on how to fix this?</p>

<p>Best,</p>

<p>EDIT: let me know if i should provide my code / the CSV file. didn't attach at first on the off-chance that this is a common problem and could be solved without the CSv.</p>