Open AudreyKarsons opened 10 years ago
Example code:
library(ff) ff1 <- as.ffdf(data.frame(letA = letters[1:5], numA = 1:5)) ff2 <- as.ffdf(data.frame(letB = letters[6:10], numB = 6:10)) cbind.ffdf <- function(d1, d2){ D1names <- colnames(d1) D2names <- colnames(d2) mergeCall <- do.call("ffdf", c(physical(d1), physical(d2))) colnames(mergeCall) <- c(D1names, D2names) mergeCall } cbind.ffdf(ff1, ff2)[,]
Example code: