> I have a master file which runs a set of do files and if I run the whole
> masterfile together keeps giving me an error: "no; Stata matrices have not
> been cleared (type -clear matrix- to clear Stata matrices). [...] [I]
> start each do file with -clear- and [...]
Start each do-file with -clear all- rather than just -clear-.
-clear- without -all- removes
1. data
2. value labels
-clear all- removes the above and removes
3. matrices (Stata)
4. scalars (Stata)
5. constraints
6. clusters
7. save results
8. sersets
9. Mata functions <--
10. Mata matrices <--
11. other Mata objects <--
Ekatrina noted that -clear mata- seemed to solve the problem. -clear mata-
removes (1), (2), (9), (10), (11).
-clear all- is best.
-- Bill
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/