- R: how to rbind two huge data-frames without running out of memory - Stack Overflow
up vote 1 down vote Try to create a data.frame of desired size, hence import your data using subscripts. dtf <- as.data.frame(matrix(NA, 10, 10)) dtf1 <- as.data.frame(matrix(1:50, 5, 10, byrow=TRUE)) dtf2 <- as.data.frame(matrix(51:100, 5, 10, byrow=TRUE)) dtf[1:5, ] <- dtf1 dtf[6:10, ] <- dtf2
in tech > problems with allocating as.data.frame byrow data.frame desired matrix optimizing r-language rbind subscripts
allocating from all users