View source: R/zen4R_downloader.R
human_filesize | R Documentation |
Takes an integer (referring to number of bytes) and returns an optimally human-readable binary-prefixed byte size (KiB, MiB, GiB, TiB, PiB, EiB). The function is vectorised.
human_filesize(x)
x |
A positive integer, i.e. the number of bytes (B). Can be a vector of file sizes. |
A character vector.
Floris Vanderhaeghe, floris.vanderhaeghe@inbo.be
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.