On 12/20/2012 02:13 PM, arun wrote: > library(gtools) > permutations(2,10,0:1,repeats.allowed=TRUE)
This does what I need, but if I increase a number of permutations (59 instead of 10), then I get an error. Error: cannot allocate vector of size 1.5 Gb Is there a smart way of increasing the maximum number of permutations that R can handle? Cheers, Olga ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.