obj_sizes: Return a data frame of the names and sizes of the objects in...

View source: R/utils-obj-sizes.R

obj_sizesR Documentation

Return a data frame of the names and sizes of the objects in a list

Description

Return a data frame of the names and sizes of the objects in a list

Usage

obj_sizes(lst, scale = c("b", "kb", "mb", "gb", "tb"), digits = 0, desc = TRUE)

Arguments

lst

The list

scale

A scale factor. If 1e3, return values in kB, if 1e6, GB, 1e12, TB

digits

The number of decimal places to show

desc

Logical. If TRUE, sort the table in order of largest size in the first row and smallest in the last row

Value

A data frame


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.