Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

prettyunits (version 1.0.2)

Pretty, Human Readable Formatting of Quantities

Description

Pretty, human readable formatting of quantities. Time intervals: 1337000 -> 15d 11h 23m 20s. Vague time intervals: 2674000 -> about a month ago. Bytes: 1337 -> 1.34 kB.

Copy Link

Version

Install

install.packages('prettyunits')

Monthly Downloads

643,954

Version

1.0.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Gabor Csardi

Last Published

July 13th, 2015

Functions in prettyunits (1.0.2)

prettyunits

Prettier formatting of quantities
pretty_bytes

Bytes in a human readable string
time_ago

Human readable format of the time interval since a time point
pretty_sec

Pretty formatting of seconds
pretty_dt

Pretty formatting of time intervals (difftime objects)
pretty_ms

Pretty formatting of milliseconds
vague_dt

Human readable format of a time interval