Skip to content
Prev 175443 / 398502 Next

how to input multiple .txt files

may i suggest the following,


a <- do.call(rbind, lapply(cust1_files, read.table))

(i believe expanding objects in a for loop belong to the R Inferno)

baptiste
On 30 Mar 2009, at 12:58, Mike Lawrence wrote:

            
_____________________________

Baptiste Augui?

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag