Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

number_bytes_format

Older interface to label_bytes()


Description

[Retired] These functions are kept for backward compatibility, but you should switch to label_bytes() for new code.

Usage

number_bytes_format(symbol = "auto", units = "binary", ...)

number_bytes(x, symbol = "auto", units = c("binary", "si"), accuracy = 1, ...)

Arguments

symbol

byte symbol to use. If "auto" the symbol used will be determined separately for each value of x. Valid symbols are "B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", and "YB" for SI units, and the "iB" variants for binary units.

units

which unit base to use, "binary" (1024 base) or "si" (1000 base)


scales

Scale Functions for Visualization

v1.1.1
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre], Dana Seidel [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.