Loads a Stata dataset (a file with the .dta extension) into memory.
Clears Stata's memory -- of the dataset, as well as any labels, scalars, matrices or anything else you might have had defined.
Saves the contents of memory to a Stata dataset.
Reads data into memory from a plain text file (delimited by commas or tabs).
insheet using "filepath\datafromexcel.txt"
Allows you to enter data directly into Stata, either from a .do file or interactively.
input varx vary; 2 3; 5 6;
Writes data to a tab (or comma) seperated file.
outsheet varx vary using "filepath\results"
Various techniques to avoid typing out the full filepath everytime you want to use one of these commands.
last modified: 17 Sept 2008