| capacity.Heap {Containers} | R Documentation |
This method returns the of elements the Heap is capable of holding. The method can be used in conjunction with size and contract to ensure optimum memory usage.
aHeap$capacity()
capacity returns a nonnegative integer.
John Hughes