In Stata, how do I save a data set?
The save command will save a file in Stata
format. You may add a specific pathname to save the file somewhere
other than in the default directory.
The following command stores the current data set in memory into a
file data1 in the temp directory of the
C: drive (hard disk):
If a file by that name already exists, you must include the
replace option to overwrite the previous
version:
For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.
Last modified on February 17, 2010.







