[Rd] custom allocators, Valgrind and uninitialized memory

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Fri Mar 26 19:51:35 CET 2021


Can you briefly describe what it is you are trying to do?

In general, no R package would use valgrind directly; it is an optional
debugger. Also note _Writing R Extensions_ has a few things to say about how
memory destined for R object can and cannot be allocated -- I presume your
custom allocator is only for objects you managed and do not return to R?

Best, Dirk

https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-devel mailing list