> I am trying to create a vector to store objects create with gmp::as.bigq(). [...] > library(gmp) > V <- vector(typeof(as.bigq(1)), 100) # typeof(as.bigq(1)) is raw > V[[100]] <- as.bigq(1,2) I got a solution now. If I use a list instead then everything works. Regards Martin M. S. Pedersen