Re: [R] Joining together multiple csv files

2010-10-14 Thread Dennis Murphy
Hi: Here's a toy example: the first part is to create files and write them out to the current directory. # Create a dummy file and run it five times, creating five new .csv files file <- data.frame(x = rnorm(5), y = rnorm(5)) fnames <- paste('file', 1:5, '.csv', sep = '') # last column is an indi

Re: [R] Joining together multiple csv files

2010-10-14 Thread Santosh Srinivas
08:47 To: r-help@r-project.org Subject: [R] Joining together multiple csv files Hi, This feels like a kinda dumb basic question, but I haven't been able to figure it out. I have a bunch of csv files I'd like to put into one csv using R. I have tried cat, append, join, aggregate, and

[R] Joining together multiple csv files

2010-10-14 Thread aeneas24
Hi, This feels like a kinda dumb basic question, but I haven't been able to figure it out. I have a bunch of csv files I'd like to put into one csv using R. I have tried cat, append, join, aggregate, and a bunch of other things, but none of them really work for combining the data. If it's one