Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- raw1 <- read.table()
- raw2 <- read.table()
- vec1 <- raw1[,2]
- vec2 <- raw2[,2]
- cbind(vec1,vec2,vec3)
- datalist <- lapply(filenames, function(i) read.table(i)[, 2])
- # ... where filenames are the names of the files you want to read, and
- # passing any additional parameters to read.table that are needed
- # Then cbind all the entries of datalist
- do.call(cbind, datalist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement