Re: [R] R_alloc vs. malloc

2008-04-11 Thread Prof Brian Ripley
On Fri, 11 Apr 2008, Søren Højsgaard wrote: Dear list I have two (trivial) memory-questions related to a call with .C: On Windows, I presume from past questions from yourself. The answers really are completely Windows-specific, so please do remember to tell us your OS! If I allocate memor

[R] R_alloc vs. malloc

2008-04-11 Thread Søren Højsgaard
Dear list I have two (trivial) memory-questions related to a call with .C: If I allocate memory with R_alloc in a C-program (called with .C), will that memory "be taken from" the "available memory pool" (of a maximum of 4gb?) which R can allocate? (This is the impression I get from "Writing R e