Skip to content
Prev 353696 / 398513 Next

bind function

On 18/08/15 07:07, mcferrae at mskcc.org wrote:

            
Well, I guess (???) this isn't *really* homework .....

Something like:

clyde  <- list.files(pattern="*.csv")
melvin <- lapply(clyde,read.csv)
irving <- do.call(rbind,melvin)

Note that the data frames read in by read.csv() must have identical 
column names.

Your question is very vague and indicative of a lack of focus.  (As in 
"Focus?  They don't even know us!)

Have you read (thoroughly and diligently) some basic introduction to R, 
such as "An Introduction to R" (!!!) available from the R web page?  Do so!

cheers,

Rolf Turner