Skip to content

bug in garbage collector function gc() documentation (PR#1970)

1 message · Brian Ripley

#
The help page is correct: please read it more carefully:

     `gc' returns a matrix with rows `"Ncells"' (cons cells, usually 28
     bytes each on 32-bit systems and 56 bytes on 64-bit systems, and
     `"Vcells"' (vector cells, 8 bytes each), and columns `"used"' and
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
    `"gc trigger"', each also interpreted in megabytes (rounded up to
     the next 0.1Mb).

`30158416 bytes' is your invention: gc() actually reports `30158416
Vcells'.
On Sat, 31 Aug 2002 joshi@engr.orst.edu wrote:

            
It *is* matrix as stated, and not a list!