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:
If you have questions about using statistical and mathematical software at Indiana University, email UITS Research Analytics (formerly known as the Stat/Math Center). Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200, and is open for consultation by appointment Monday-Friday 9am-5pm. For more, visit Research Analytics on the web, or call 812-855-4724 (IUB) or 317-278-4740 (IUPUI).
Last modified on September 18, 2012.







