pretty_bytes {prettyunits}R Documentation

Bytes in a human readable string

Description

Bytes in a human readable string

Usage

pretty_bytes(bytes)

Arguments

bytes

Numeric vector, number of bytes.

Value

Character vector, the formatted sizes.

Examples

pretty_bytes(1337)
pretty_bytes(133337)
pretty_bytes(13333337)
pretty_bytes(1333333337)
pretty_bytes(133333333337)

[Package prettyunits version 1.0.2 Index]