Skip to content
Prev 40481 / 63424 Next

Ctrl-C of functions that allocated mem

On Jun 8, 2011, at 8:06 PM, oliver wrote:

            
Yes, if you read R-exts:
http://r.research.att.com/man/R-exts.html#Memory-allocation
you would know that you're not supposed to use malloc/calloc at all and if you allow interruption ("regular" C code does not) R_alloc does what you asked about.

Cheers,
Simon