if (FALSE) {
set.seed(4669)
A = big.matrix(3, 2, type="double", init=1, dimnames=list(NULL,
c("alpha", "beta")), shared=FALSE)
B = big.matrix(3, 2, type="double", init=0, dimnames=list(NULL,
c("alpha", "beta")), shared=FALSE)
dcopy(X=A,Y=B)
A[,]-B[,]
# The big.matrix file backings will be deleted when garbage collected.
rm(A,B)
gc()
}
Run the code above in your browser using DataLab