If you try using read.table for a CSV file in R , it keeps popping up an error.
“Error in read.table(“rdata.csv”, header = TRUE) :
more columns than column names”
This is because the read.table function assumes that there is only one table to be considered.
Use read.csv instead . The process is way smoother.
Additionally, you can put header value as true or false. But piece of advice, do keep it as true. Helps when you are trying to mess around with the Data Frame functions.