It's difficult to figure out what is wrong exactly since I cannot see your data, but it seems that the header is potentially read as one column, so there might be something wrong with the separator. Open the file you are trying to load in a text editing program to check that the separators are really commas; both for your header and your data. Does read.csv() work?