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 :
>
> Dear R Users,
>
> I have 120 objects stored in R's memory and
Dear R Users,
I have 120 objects stored in R's memory and I want to pass the names of these
many objects to be held as just one single object. The naming convention is
month, year in sequence for all months between January 1986 to December 1995
(e.g. Jan86, Feb86, Mar86... through to Dec95). I
2 matches
Mail list logo