hbytes: Print bytes in nice human-readable format

View source: R/hbytes.r

hbytesR Documentation

Print bytes in nice human-readable format

Description

Basically format.object_size from utils, but vectorized and includes .0

Usage

hbytes(x)

Arguments

x

Number of bytes (integer)

Examples

hbytes(12300)
hbytes(c(12300, 12345))

pbreheny/breheny documentation built on April 26, 2024, 10:40 a.m.