Stata Clear
The clear command clears data from memory.
Contents
Usage
clear
There are several extended commands:
clear frames removes all frames from memory and resets the current frame to 'default'
clear mata is equivalent to mata: mata clear
clear results is equivalent to return clear, ereturn clear, sreturn clear, and _return drop _all altogether
clear matrix is equivalent to clear results, matrix drop _all, and estimates drop _all altogether
clear programs is equivalent to program drop _all
clear ado is equivalent to program drop _allado
clear rngstream resets all random number states
clear collect is equivalent to collect clear
clear all and clear * are equivalent to all of the above altogether, except clear rngstream