The question asked for an _automatic_ way
of doing this. I think you are right
in your implication that there isn't one,
as I argued at some length earlier,
but this isn't what I understood to be
requested.
Nick
[email protected]
Michele Favre M.
> I think that maybe this can help...
> you have to use the command "keep (varname1) (varname2)..."
> and Stata keeps
> only the columns (or variables) that you want to work with
Adrian Yung Hwei Ow
> I'm new to the list, and I had a short question about STATA commands.
>
> I'm working for a professor who's trying to clean up her dataset; she
> told me that there was a command in STATA that automatically kept only
> the data columns used to produce result (more precisely, a
> command that
> allows one to automatically drop columns not used for a given do file)
> -- do you know what this might be?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/