[Rd] Rprof(..., memory.profiling=TRUE) to profile C memory allocation?
Henrik Bengtsson
hb at biostat.ucsf.edu
Sun Nov 23 02:41:25 CET 2014
Could someone please confirm/refute that Rprof(...,
memory.profiling=TRUE) can also be used to profile memory allocation
done in a C function (src/*.c) that uses, e.g.
allocVector(INTSXP, n)
but also allocations such as
R_alloc(n, sizeof(int))
?
Modulo how R was built, does the answer depend on OS? I'm interested
in all the major ones (Linux, OS X and Windows).
Thanks,
Henrik
More information about the R-devel
mailing list