library("spam")
library("spam64")
tiny <- spam(1)
pad(tiny) <- c(3,2^32)
tiny
str(tiny) # tiny matrix big time
print(A <- spam_random(3))
options(spam.force64 = TRUE) # forcing 64-bit structure
print( B <- spam_random(3))
A+B
options(spam.force64 = FALSE)
B # No operations, structure is preserved
A+B # Lowlevel operation, structure is adapted
Run the code above in your browser using DataLab