Description Usage Arguments Value Author(s) See Also Examples
lsize
is like ls
, except it returns a numeric vector whose names are the object names, and whose elements are the object sizes. The vector is sorted in order of increasing size. lsize
avoids loading objects cached using mlazy
; instead of their true size, it uses the size of the file that stores each cached object, which is shown as a negative number. The file size is typically smaller than the size of the loaded object, because mlazy
saves a compressed version. NB that lsize
will scan all objects in the environment, including ones with funny names, whereas ls
does so only if its all.names
argument is set to TRUE.
1 | lsize( envir=.GlobalEnv)
|
envir |
where to look for the objects. Will be coerced to environment, so that e.g. |
Named numeric vector.
Mark Bravington
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.