Skip to content
Prev 146155 / 398500 Next

quite complicated case(the repeated data arranage~)

For the first question, what do you want to do with all the subsets?  There are tools like split, by, lapply, lmList, etc. that make working with all the subsets easy.  If you tell us what your final goal is, we may be able to help with a simple solution that does not need the intermediate "tables", at least not explicitly.

For the 2nd question try:

tmp <- paste('x',1:100, sep='')
tmp2 <- lapply(tmp, function(x) get(x)
Xall <- do.call('cbind', tmp2)