## Not run:
# ## A 9 partition (each partition 3x3), 9x9 dframe with each element initialized to 5.
# a <- dframe(psize=c(3,3),dim=c(9,9),data=5)
# collect(a)
# b <- dframe(psize=c(3,3),dim=c(9,9)) # Same as 'a', but filled with 0s.
# ## An empty dframe with 6 partitions, 2 per column and 3 per row.
# c <- dframe(nparts=c(2,3))
# ## End(Not run)
Run the code above in your browser using DataLab