prettyunits (version 1.0.2)

pretty_bytes: 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

Run this code
# NOT RUN {
pretty_bytes(1337)
pretty_bytes(133337)
pretty_bytes(13333337)
pretty_bytes(1333333337)
pretty_bytes(133333333337)
# }

Run the code above in your browser using DataCamp Workspace