write.foreign: Write text files and code to read them.
Description
This function exports data frames to other statistical packages by
writing the data as free-format text and writing a separate file of
instructions for the other package to read the data.
Other arguments for the individual writeForeign functions
Value
None
Details
The work for this function is done by foreign:::writeForeignStata and
foreign:::writeForeignSPSS. To add support for another package,
eg SAS, create a function writeForeignSAS with the same first
three arguments as write.foreign. This will be called from
write.foreign when package="SAS".