new R user has a question: 

I have several hundreds of .txt files from  different monitoring sites over several years. 
(1) different site has a unique name( such as : ST2.20090321.txt = Sation 2  2009 March 21 data, ST3.20090322=Station3, 2009, March 22 data). 
(2) different site has different file header, but for the same site, the header is the same.
for example: 
Sation 2 
date time wind CO2 
2009 10:30 2 3 
station 3
data time solar NO
2009 10:20 4 5

Question: 
How to write a "R" program to read all these files, and combine the data from each station to one file (such as: ST2.master will save all the data from station 2, and ST1.master will save all the data from station 1) ? 


Thanks a million times!

Jeff 


      
	[[alternative HTML version deleted]]


