Learn R Programming

trimmer (version 0.8.1)

pf_obj_size: Convert Size in Bytes to Print Friendly String

Description

Convert Size in Bytes to Print Friendly String

Usage

pf_obj_size(x, digits = 2)

Arguments

x

numeric object size in digits.

digits

numeric number of digits you want.

Value

character priend friendly string.

Examples

Run this code
# NOT RUN {
pf_obj_size(10)
pf_obj_size(1010)
pf_obj_size(2e06)
# }

Run the code above in your browser using DataLab