|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Appending several files
From
Ulrich Kohler <[email protected]>
To
[email protected]
Subject
Re: st: Appending several files
Date
Sat, 14 Oct 2006 14:12:50 +0200
On Saturday 14 October 2006 13:42, Nuno Soares wrote:
> foreach f in `r(files)' {
> append using `f'
> }
. fs *.dta
. local firstfile: word 1 of `r(files)'
. use `firstfile', clear
. foreach f in `r(files)' {
. if "`f'" ~= "`firstfile'" append using `f'
. }
--
[email protected]
+49 (0)30 25491-361
*
* 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |