allocated()
names
attribute gives the name of the function
called in each frame.
Note that
allocated
does not show the
memory usage for objects stored in database frames.
# Default allocations when called at top level allocated() # A function to track allocation changes: "myfun"<- function() { at.start <- allocated() # ... do some work ... now <- allocated() # changes in allocations now - at.start }