Arguments
object
a data.frame, matrix, or vector to write out
dir
a character string specifying the directory (folder) in which save
the object, defaults to current working directory.
date
logical, if TRUE
appends the object name with todays date
overwrite
logical, if TRUE
overwrites existing file of same name
row.names
logical, if TRUE
adds rownames to output file
col.names
logical, if TRUE
adds column names to output file