Creates a .csv-formatted file with the data. The file will be
created in your current working directory (see ?getwd and ?setwd),
unless specified otherwise by file. Note that if the
file field does not end in .csv, ".csv" will be appended
to the end of file.