Skip to content
Prev 190688 / 398498 Next

Creating a list of combinations

the short answer is to add [[i]] in your loop,

file_list[[i]] <- paste(index$month[i], index$year[i], sep='')

yet a shorter answer would be,

file_list = apply(index, 1, paste, collapse="")

HTH,

baptiste

2009/8/20 Steve Murray <smurray444 at hotmail.com>: