Skip to content

On read.csv and write.csv

1 message · John Fox

#
Dear Gabriel,
On 2021-07-01 6:29 p.m., Gabriel Becker wrote:
On Excel, for example, opening a .csv file without the empty initial 
field in the first line will cause the column names to be misaligned.

As others have pointed out, .csv files are meant as a sort of 
least-common-denominator of data exchange, and so following the standard 
is probably a good idea.

Best,
  John

John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/