# NOT RUN {
## the following matrices are very large, and hence,
## require much memory and cpu time.
library("spam64")
s1 <- spam(1, ncol=2^30) # 32-bit matrix
s1
s2 <- cbind(s1, s1) # 64-bit matrix
s2
s3 <- spam(1, ncol=2^31) # 64-bit matrix
s3
# }
Run the code above in your browser using DataLab