Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: appending and merging large number of files


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: appending and merging large number of files
Date   Fri, 16 May 2003 18:21:32 +0100

Tae Ho Eom
> 
> Is there any convenient way to merge and/or append large number of
> files, say over 100 hundred files, instead of repeated one by one
> process?

There could be in some circumstances. It is easiest 
when there is some very simple structure to the names. 

u foo1 

forval i = 2/10000 { 
	append using foo`i' 
} 

-merge- is trickier than -append-. 

In many circumstances, doing it a fast and brutal way, especially 
if don't check _merge, could just be postponing the problems. 

Nick 
[email protected] 

*
*   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