[R] Read multiple text files and combine into single file?

pif pif pifbugs at hotmail.fr
Tue Jan 30 13:53:45 CET 2007

Hi everyone!

I have 1000 text files that contain data in a standard format separated by 
semi colons. However, each file also has single header (first) and footer 
(final) lines.  The text files are all named with a sample number, which do 
not follow a pattern.  I need to delete the header and footer lines and 
combine all files into a single (or possibly several) large files.
Does anyone know how this could be done automatically using R?

best regards,


More information about the R-help mailing list