Displaying 1 result from an estimated 1 matches for "getnumberhit".
Did you mean:
getnumberhits
2005 Jul 12
1
allocation of large matrix failing
...but R is not even
using that much (I start R with
more memory and it stays constant) Also, I start R as I normally do and
I allocate a matrix of that size
and it returns instantly, so I am inclined to think that this is not a
memory/GC issue, but I submit it
may be.
<code>
int numHits = seq.GetNumberHits();
Rprintf("numHits:%d\n", numHits);
Rprintf("before allocation...\n");
SEXP oligos, matrix;
PROTECT(oligos = NEW_LIST(numHits));
Rprintf("allocated oligo list...\n");
PROTECT(matrix = NEW_INTEGER(numHits*8));
Rprintf("entering looop...\n");
<output&...