Skip to contents

Tools that returns a formatted object size, where the appropriate unit is automatically chosen.

Usage

osize(x)

# S3 method for osize
print(x, ...)

Arguments

x

Any R object.

...

Not currently used.

Value

Returns a character scalar.

Author

Laurent Berge

Examples


osize(iris)
#> 7.3 Ko. 

data(trade)
osize(trade)
#> 1.5 Mo.