The RATS econometric package (www.estima.com) handles only numeric data. To facilitate the transfer of large datasets in Stata format to RATS, this module -- invoked by torats,file(foo) will create two files, foo.rat and foo.raw, containing the RATS program to read the data, and the data, respectively. By default, the entire contents of the dataset in memory will be placed in the .raw file, except for string variables, which cannot be read by RATS. An optional varlist is supported, as are if and in options. Casewise deletion is used by default, but may be optionally deselected.