Message-ID: <50D31B95.8040409@herenstraat.nl>
Date: 2012-12-20T14:07:17Z
From: Olga Lyashevska
Subject: permutation of vectors (1 or 0)
In-Reply-To: <1356009213.1288.YahooMailNeo@web142601.mail.bf1.yahoo.com>
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